The Alepha CLI is bundled inside the alepha package. No separate installation required.
Create a new project:
npx alepha init
This initializes your project and adds alepha as a dependency. From then on, run commands from your project directory:
npx alepha dev
npx alepha build
Lost? Run npx alepha -h to see every command at your disposal. It's the cheat sheet you didn't know you needed.
Global installation (npm install -g alepha) is not recommended. When working on multiple projects, each may require a different Alepha version. Using npx or project-local scripts ensures each project uses its own version.
After alepha init, your package.json includes ready-to-use scripts:
1{2 "scripts": {3 "dev": "alepha dev",4 "build": "alepha build",5 "verify": "alepha verify"6 }7}
Run them with your package manager:
npm run dev
Check your version:
node --version