Learn how to create new Jovo projects and other files using the
jovo new command of the Jovo CLI.
jovo new can be used for the following features:
You can create a Jovo project into a new directory with the following command:
$ jovo new <directory>
This will open a wizard that helps you create a new Jovo project by defining platforms to develop for, languages, and more.
You can also add flags from the table below.
|The locales to be created|
|Specifies the code language of your project|
|Skips the wizard and creates a project from a pre-configured preset|
|Delete existing files in the specified |
new:stage command helps you create a new app stage, for example
app.prod.ts. Learn more about staging here.
$ jovo new:stage <stage>
The command will do the following:
- Create a new file
- Prompt to specify which server will be used, and create a server file, for example
- Add npm scripts
bundle:<stage>(used by the
start:<stage>(used by the
runcommand) to the project's
Command Not Found
All global CLI commands are referenced in the user config file in
.jovo/config. If you run into
command not found errors, it's possible that the CLI can't access the user config.