- Prerequisites: Ensure you have Node.js and npm (Node Package Manager) installed on your machine.
- Installation: You can install AdonisJS globally using npm. The basic command is
npm i -g @adonisjs/cli
. - Creating a New Project: Use
adonis new project-name
to generate a new AdonisJS project. This command sets up a new directory with a project scaffold and installs the necessary dependencies.
Leave a Reply