Moonshift in your terminal.
One prompt, a deployed app, from a single self-contained binary. No Node, Bun, or build step to install.
What it is
The CLI is a thin client over the Moonshift API. You type an idea, it builds and deploys a real site, and you can iterate on it without leaving the command line. All of the building, deploying, and marketing happens server-side. Nothing heavy runs on your machine.
It ships as one self-contained binary. There is no runtime to install first: no Node, no Bun, no build step.
Install
macOS and Linux:
bashcurl -fsSL https://moonshift.io/install.sh | bash
Windows (PowerShell):
powershellirm https://moonshift.io/install.ps1 | iex
The installer detects your OS and architecture, downloads the matching binary, verifies its SHA-256, and installs it to a bin directory on your PATH. To upgrade later, run the same command again.
First run
Sign in once. The login uses a device-code flow: it prints a short code and a URL, and you approve it in your browser.
bashmoonshift login
Then run moonshift on its own to open the interactive launchpad: an idea box with a slash palette. Inside a pipe or a CI job, where there is no interactive terminal, it prints a static list of commands instead.
bashmoonshift
Commands
Every command runs as moonshift <command>.
create flags
Flags shape a single build. Pass them after the idea, for example moonshift create "a landing page for my bakery" --standard.
Slash commands
In the launchpad, type / to open the palette. There are three build modes: fast (the default), standard, and full.
Connect your accounts
Run moonshift connect to see what is linked and open the web settings page. Run moonshift connect github to link GitHub and wait until it is done.
bashmoonshift connect moonshift connect github
Once GitHub is connected, builds push to your own repository and every iteration commits back to it.
Iterate after launch
After a run ships, type a change in the composer, for example make the buttons green, and press Enter. A new version iterates on the existing project and redeploys to the same URL. To re-open an older run, use moonshift resume.
- step 01Ship the first version
Run create with your idea. You get a live URL when it finishes.
- step 02Describe one change
Type a plain-language edit in the composer and press Enter.
- step 03Redeploy to the same URL
Moonshift iterates on the project and ships the new version in place.
- step 04Re-open anytime
Run moonshift resume to pick up a past run later.
Security and source
The CLI is a thin client. It does three things: it calls the Moonshift API, it draws the terminal UI, and it reads and writes your local config. That is all it contains.
The pipeline, prompts, and orchestration stay server-side and are never shipped to your machine. The binary is the minified compiled bundle: no TypeScript source, no source maps, and no embedded secrets. It authenticates with the per-user token created by moonshift login.
Troubleshooting
- Command not found. Add the printed bin directory to your PATH, then open a new terminal.
- "Not signed in". Run
moonshift loginand approve the code in your browser. - Garbled icons. Run with
MOONSHIFT_ICONS=asciifor plain characters. - Check health. Run
moonshift doctorfor an auth and API checklist.