CLI & AI agents

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.

~/storefront

❯ 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 \
  | bash

02

Log in

It asks for your server URL. The token goes in your OS keychain.

slasha auth login

03

Link the folder

Pick the app once. Commands in this folder then use it.

cd ~/storefront && slasha link

Command 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 diagnostic prints what a bug report needs
CLI reference
slasha appslist · create · info · delete
slasha deploy--commit · -f
slasha deploymentslist · rollback · redeploy
slasha logs-f · -n · --search · -p · -s
slasha envlist · set · unset · apply
slasha scaleweb=2 worker=1
slasha servicesprovision · backups · proxy
slasha domainslist · add · remove
slasha ssh-keyslist · add · remove
slasha nodeslist · console
slasha authlogin · logout · status
slasha linkpick the app for this folder

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_TOKEN logs in without a keyring
  • --app and --server-url work without a link file
  • -y skips confirmations
  • deploy -f exits non-zero when the deploy fails
Slasha for agents
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 }}

Link 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
Config & auth
.slasha/config.toml
app = "storefront"
server-url = "https://ship.acme.dev"
~/storefront

❯ 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
Using Slasha with agents
claude code · ~/storefront

> 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?
Set 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. Output is plain text and tables, and 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?
No. Slasha has no AI features of its own. Coding agents use the same CLI you do, and read the docs from /llms.txt. See Slasha for agents.
Can I do everything from the CLI?
Most everyday work, yes: apps, deploys, logs, env, scaling, databases, backups, domains, SSH keys and node consoles. Some things are only in the dashboard for now: cron jobs, alerts, users, S3 storages, app visibility and members, and GitHub connections.
Which platforms does the CLI run on?
Linux (x86_64 and aarch64) and macOS (Intel and Apple Silicon). The installer checks checksums and installs to ~/.local/bin. Run it again to upgrade.

Other features

All features

Let 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.

$curl -fsSL https://slasha.com/setup.sh | bash