Skip to main content

Installation

You can use Exon CLI via npx or install it globally.
npx exon-cli create my-api

Create a New Project

1

Run the setup command

Run the create command in your terminal. This will start the interactive setup.
exon-cli create my-api
2

Select project options

The CLI will prompt you to pick your preferred language (TypeScript or JavaScript), database ORM (Prisma, Drizzle, Mongoose, or None), and whether to enable Docker support.Exon will then:
  • Copy the selected Express template
  • Scaffold the database connection and models
  • Generate Docker configuration (Dockerfile, .dockerignore, and docker-compose.yml) if selected
  • Merge any necessary dependencies
3

Start your server

After the CLI completes the setup and runs npm install, change into the directory and start your backend:
cd my-api
npm start
Your server will be running on http://localhost:3802 by default.