DevStation CLI
Installation
Three ways to install, all verified against the same published checksums. Pick one, then run devstation doctor.
Install
With npm
npm install -g @devstationlabs/cliNeeds nothing else on the machine. The package downloads the standalone binary for your platform at install time and checks it against the published SHA256SUMS; if that does not match, nothing is installed.
Two cases fall back to running the bundled JavaScript through Bun: installing with --ignore-scripts, which skips the download, and a platform with no published binary. If neither route works, the command tells you which and what to do.
Use the scoped name
devstation on npm without the scope is an unrelated package, a dashboard for dev servers. npm i -g devstation installs that, not this.
If you already installed it, devstation config prints a box about http://localhost:4000. Remove it with npm uninstall -g devstation, then run hash -r so your shell forgets the old path.
With the install script (macOS and Linux)
curl -fsSL https://devstation.online/install.sh | shIt downloads the binary for your platform, checks it against SHA256SUMS, and installs nothing if they differ. The binary goes to ~/.devstation/bin/devstation, and the installer tells you if that directory is not on your PATH.
Pick a version, or install somewhere else:
DEVSTATION_VERSION=v0.2.2 curl -fsSL https://devstation.online/install.sh | shDEVSTATION_INSTALL_DIR=/usr/local/bin curl -fsSL https://devstation.online/install.sh | shBy hand
Every release carries five binaries and their checksums:
cd /tmpcurl -fLO https://github.com/linoxbt/dev-shipyard/releases/latest/download/devstation-linux-x64curl -fLO https://github.com/linoxbt/dev-shipyard/releases/latest/download/SHA256SUMSsha256sum -c SHA256SUMS --ignore-missingmkdir -p ~/.devstation/bininstall -m755 devstation-linux-x64 ~/.devstation/bin/devstation| Platform | File |
|---|---|
| Linux x64 | devstation-linux-x64 |
| Linux arm64 | devstation-linux-arm64 |
| macOS Apple silicon | devstation-darwin-arm64 |
| macOS Intel | devstation-darwin-x64 |
| Windows x64 | devstation-windows-x64.exe |
Check the install
devstation --versiondevstation doctordoctor checks each thing a run needs, from the model provider to the sandbox image, and names the fix for anything missing. See Troubleshooting for what each line means.
Set up in five minutes
- 1Installnpm install -g @devstationlabs/cli
- 2Choose a modeldevstation login
Pick a provider, paste the key (hidden as you type), and pick a model. See Models & Providers.
- 3Build the sandbox image
Shell commands run in a Docker container. With Docker installed, build the image once from a checkout of the repository:
bun run sandbox:imageOr skip the container for now with
--no-sandbox. See the sandbox. - 4Check everythingdevstation doctor
- 5Startcd your-projectdevstation
Command not found?
The install directory is not on your PATH. The installer prints the line to add; for the default location it is:
echo 'export PATH="$HOME/.devstation/bin:$PATH"' >> ~/.profile && . ~/.profile