Skip to content

Scaffolding Project

The Xeno.JS CLI can scaffold a new application with the initial Xeno.JS architecture.

Run:

Terminal window
npx @xeno-js/cli

Follow the CLI prompts to choose the project name and configuration.

Alternatively, if you installed the CLI globally:

Terminal window
xeno-js new my-xeno-app

The CLI generates the project in the selected directory.

Replace my-xeno-app with the name you selected during project creation.

See more on CLI

Terminal window
cd my-xeno-app

If dependencies have not already been installed:

Terminal window
npm install

Use the development command generated by the project:

Terminal window
npm run start

Your Xeno.JS application is now ready for development.


The CLI has created the initial application structure.

Before adding features, take a look at how the generated project is organized:

Next: Project Structure


Xeno.JS is an MIT-licensed open source project. It can grow thanks to the support of these awesome people. If you’d like to join them, please read more at support section