CLI availability and getting started
4 min
The downloadable @lunax/cli package is not publicly released yet. Do not assume npm install -g @lunax/cli works. The CLI package in the repository remains private; its current version is 0.1.0.
Local development without a cloud deployment
From a built repository checkout, run the CLI binary in your project directory: node /path/to/packages/cli/dist/index.js dev --port 5173. It runs your own package.json dev script on loopback, requires no Lunax API login, and does not create a cloud deployment.
Builder and cloud deployments
Inside Builder, the worker owns sandbox startup and waking. The local dev command deliberately refuses a second independent runner in bridge mode. lunax deploy creates a real managed preview workload; lunax deploy --prod requests production through the approval flow.
Dependency installation
Builder selects the package manager from the project lockfile. Installation time depends on the project and cache; check the build logs for the actual result.