Skip to content

Commit

Permalink
docs: Added section "Setting up a new project with kipper new"
Browse files Browse the repository at this point in the history
  • Loading branch information
Luna-Klatzer committed Jun 26, 2024
1 parent 5f50a3a commit 27a1214
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions src/docs/next/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,17 +197,18 @@ npx kipper
</p>
</div>

Also, make sure to try and run a Kipper file after the installation to ensure the Kipper compiler and Node runtime are fully working:

- Use `run` and directly execute:
```bash
kipper run main.kip
```
- Or use `compile` and invoke `node` (or `ts-node` if the target is `ts`)
```bash
kipper compile main.kip --target=js
node ./build/main.js
```
### Setting up a new project with `kipper new`

To create a new Kipper project using the CLI, you can use the Kipper project setup wizard. This will create a new
project directory with the necessary files and folders for a Kipper project.

To create a new project, run the following command:

```bash
kipper new
```

You may specify a location, but if not specified, the project will be created in the current working directory.

## Importing Kipper as a module

Expand Down

0 comments on commit 27a1214

Please sign in to comment.