CLI reference
The molixa binary ships everything the dashboard does, scriptable. Pipe outputs, wire it into CI, or just avoid context-switching to the browser.
Requires Node.js 18 or newer.
npm install -g @molixa/cliPrefer Homebrew or a pre-built binary? See the npm page for additional install options.
Run molixa help at any time for contextual usage. The most-used commands:
molixa loginAuthenticate via device code flow. Stores a refresh token in ~/.config/molixa.
molixa servers listShow every server on your account with status, load, and last-seen time.
molixa deployTrigger a deploy for the site in the current directory (reads .molixa.json).
molixa ai "your prompt"Ask the AI assistant to plan and run an operation. Approves interactively.
molixa logs <site>Tail nginx / application logs live from any site. Filters by level and grep.
molixa ssh <server>Open an SSH session via Molixa’s managed key. No local key juggling.
molixa backup <db>Run an on-demand backup for a database, with progress streamed to stdout.
molixa scan <server>Kick off a CIS benchmark + malware scan and print the remediation summary.
molixa support newOpen a support ticket without leaving the terminal. Prompts for subject + body.
molixa invoice latestPrint the latest invoice as JSON or download the PDF to the current directory.
Full reference with every flag and exit code lives on the npm package page.