Install Luna CLI
The official Luna CLI npm package is @liteyuki/luna-cli. It requires Node.js 22.14.0 or later.
Install
Choose either package manager:
Verify the installation:
Use a Node.js version manager or a user-level pnpm home instead of using sudo to work around global directory permissions.
Sign in
Sign in to the official instance:
To use another Luna DevOps instance:
Then continue with Use Luna CLI.
Update
Or:
To try a prerelease, select the beta channel explicitly:
Other release assets are available from Luna CLI Releases.
Uninstall
Run luna logout first to revoke the active login. Uninstalling the package does not remove local configuration under ~/.luna/.