Manage apps
from the terminal
Deploy, read logs, set env vars, add a database or roll back. The same commands work in CI and for coding agents.
❯ slasha deploy -f
SUCCESS: Deployment triggered.
Commit: 9f3c2e1a4b7d
14:02:11 [system] [stdout] Building image slasha/storefront (railpack)
14:02:45 [system] [stdout] Image built and tagged as slasha/storefront
14:02:46 [system] [stdout] Waiting for web process to respond on GET / (timeout: 60s)
14:02:50 [system] [stdout] web.0 became ready in 3.8s
14:02:50 [web.0] [stdout] Listening on port 8080
-f streams the build and exits non-zero if the deploy fails. On success it keeps following runtime logs.How it works
Get set up
One binary for macOS and Linux.
01
Install
Downloads the binary and checks its checksum.
curl -fsSL https://slasha.com/install.sh \
| bash02
Log in
It asks for your server URL. The token goes in your OS keychain.
slasha auth login03
Link the folder
Pick the app once. Commands in this folder then use it.
cd ~/storefront && slasha linkCommand groups
Do from the terminal what you’d do in the dashboard
Grouped like the dashboard. Every command has --help.
- Coloured tables by default, plain text with
NO_COLOR - Logs open in a pager, or print straight out when piped
slasha diagnosticprints what a bug report needs
CI & coding agents
Run it from CI or a coding agent
A GitHub Action, a script, or Claude Code and Cursor in your repo. With the right flags, commands never stop for input.
SLASHA_TOKENlogs in without a keyring--appand--server-urlwork without a link file-yskips confirmationsdeploy -fexits non-zero when the deploy fails
name: deploy
on: { push: { branches: [main] } }
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- run: |
curl -fsSL https://slasha.com/install.sh | bash
echo "$HOME/.local/bin" >> $GITHUB_PATH
- run: npm test
- run: >
slasha deploy --app storefront
--server-url https://ship.acme.dev
env:
SLASHA_TOKEN: ${{ secrets.SLASHA_TOKEN }}# no prompts, no keyring, no guessing which app
export SLASHA_TOKEN="$SLASHA_TOKEN"
S="--server-url https://ship.acme.dev --app storefront"
slasha env set FEATURE_CHECKOUT_V2=1 $S
slasha deploy $S
slasha deployments list $S
slasha logs $S -s stderr -n 50
# destructive commands skip the prompt with -y
slasha deployments delete 0b7e91f4 $S -yLink file
Save the app and server in the repo
slasha link writes a small file into the project. Commit it, and your team and agents all use the right app and server.
- App comes from
--app, then the project file - It has no secrets, so it’s safe to commit
app = "storefront" server-url = "https://ship.acme.dev"
❯ slasha link
> Select application to link: storefront
SUCCESS: Linked current directory to app 'storefront'
❯ slasha completion zsh > ~/.zfunc/_slasha
# bash, zsh, fish, elvish and powershell
Docs for agents
Docs in a format agents can read
/llms.txt lists every docs page as Markdown, with notes for agents. /llms-full.txt is the whole manual in one file.
- Tell your agent to read slasha.com/llms.txt first
- Notes cover
--app,-y, exit codes and build-time env - Same content as the docs
> Read slasha.com/llms.txt, then add Redis and deploy.
⏺ Fetch(https://slasha.com/llms.txt)
⎿ Received 9.4 KB
⏺ Bash(slasha services provision redis cache)
⎿ SUCCESS: Service provisioning started.
⏺ Bash(slasha deploy -f)
⎿ web.0 became ready in 3.6s
Redis is running as cache. Deployed and healthy.
More details
Keychain storage
Tokens are stored in your OS keyring, one per server.
Several servers
Switch with --server-url or a link file per project.
Shell completions
bash, zsh, fish, elvish and PowerShell.
Database tunnels
slasha services proxy for psql and GUI clients.
Node consoles
A shell on any node with slasha nodes console (admin).
Backup downloads
Pipe a dump into a local restore.
Diagnostics
Versions, Docker, OS and shell, ready to paste into a bug report.
llms.txt
Docs for agents at /llms.txt and /llms-full.txt.
Questions about the CLI
Have another question? Ask on GitHub.
How does a CI job or agent authenticate?
SLASHA_TOKEN. It overrides the keyring, so there are no prompts. It’s the same token you get when you log in, and it lasts 30 days. We recommend a separate CI user, added to the app with only the permissions it needs. See Config & auth.Is there JSON output?
NO_COLOR turns colour off. Agents read it fine, and exit codes tell scripts whether a command worked.Do you have an MCP server or built-in AI?
Can I do everything from the CLI?
Which platforms does the CLI run on?
~/.local/bin. Run it again to upgrade.Other features
All featuresLet your coding agent deploy to your server
Install Slasha on a VPS, point your agent at /llms.txt, and let it deploy. Free and open source.