Install Luna CLI

The official npm package is @liteyuki/luna-cli and requires Node.js 22.14.0 or later.

npm install --global @liteyuki/luna-cli
luna --version

You can also use pnpm add --global @liteyuki/luna-cli. Prefer a Node.js version manager or user-level pnpm home instead of using sudo to bypass global-directory permissions.

Sign in

luna login
luna whoami

For a self-hosted instance, run luna login server=https://devops.example.com. Then continue to Use Luna CLI.

Update and uninstall

npm update --global @liteyuki/luna-cli
npm uninstall --global @liteyuki/luna-cli

With pnpm, use pnpm update --global or pnpm remove --global. Run luna logout before uninstalling to revoke the login. Uninstall does not remove ~/.luna/ automatically.

The companion Agent Skill must match the CLI version. Download luna-devops-<version>.skill from the matching Luna CLI Release.