$ ssh nma.sh cli ssh nma.sh help

$ ssh nma.sh help

every command runs over SSH, and your SSH key is your account. this page is made from nanovm help --json.

start over SSH

Connect with ssh nma.sh to check your account status, then pipe JavaScript source or an archive into deploy. Add --json to any command for machine-readable output, or use ssh -p 2200 nv@nma.sh if port 22 is blocked.

$ ssh nma.sh
$ ssh nma.sh signup
$ ssh nma.sh deploy hello < app.js

the installable CLI, for local dev and packing

Install nanovm into ~/.nanovm (verified against /dl/SHA256SUMS, no root required) to run apps locally with nanovm dev or bundle directories and frameworks with nanovm pack before piping to SSH.

$ curl -fsSL https://nma.sh/dl/install.sh | sh
$ nanovm dev .
$ nanovm pack . | ssh nma.sh deploy hello

Local and CLI-only commands reported by help --json: app, apps create, keygen, pack, dev.

Deploy and apps

Create, deploy, inspect, roll back, and delete apps.

deploy APP < app.js

deploy a JavaScript file: creates APP if new and prints its URL once it answers

$ ssh nma.sh deploy hello < app.js

deploy APP < site.tgz

a folder as any tar, gzip'd tar or zip (tar czf - -C DIR .), packed as nanovm pack DIR packs it

$ tar czf - -C dist . | ssh nma.sh deploy site

deploy < app.js

a new app with a generated name, given back as app

$ ssh nma.sh deploy < app.js

deploy-tree APP < app.tar

the archive nanovm pack DIR prints

$ nanovm pack ./my-app | ssh nma.sh deploy-tree my-app

rollback APP [VERSION]

back one version, or to VERSION

$ ssh nma.sh rollback hello

delete APP

stop serving an app (owner key): its URL answers 404, its number stays used and its room is freed at once, a deploy brings it back

$ ssh nma.sh delete hello

apps

your apps

$ ssh nma.sh apps

deployments APP

an app's versions

$ ssh nma.sh deployments hello

Logs

Read recent lines or follow a running app.

logs APP [-f] [--version V] [--limit N]

an app's recent logs; -f follows them until you stop it

$ ssh nma.sh logs hello -f --limit 50

Data: db, secrets, backups

Read and export database keys, write secrets, and restore daily backups.

backups APP

Pro: the app's daily copies of its db and kv, the last 7 days

$ ssh nma.sh backups hello

restore APP DATE

Pro: write back the db and kv of DATE (YYYY-MM-DD, from backups); later keys stay

$ ssh nma.sh restore hello 2026-11-19

db list APP [PREFIX] [--after K] [--limit N]

your db's keys (owner key): the account's, as the app's db.list

$ ssh nma.sh db list hello user: --limit 20

db get APP KEY

a key's value and version, read strong

$ ssh nma.sh db get hello user:1

db delete APP KEY

delete a key, as db.delete: deleted true if it held a value

$ ssh nma.sh db delete hello user:1

db export APP

every key and value as NDJSON, in pages, ending {"end":true}

$ ssh nma.sh db export hello > backup.ndjson

secret set APP NAME < v

store a secret; apps read it, nothing shows it

$ printf '%s\n' "$API_TOKEN" | ssh nma.sh secret set hello API_TOKEN

secret delete APP NAME

remove one

$ ssh nma.sh secret delete hello API_TOKEN

Account: plan, verify, upgrade, billing, keys

Manage your account, plan tier, email verification, billing, and API keys.

tenant

who this key is

$ ssh nma.sh tenant

verify EMAIL

mail your human a link to verify their email, where the server offers it

$ ssh nma.sh verify you@example.com

plan

the account's plan, what it uses, what Pro gives, and the next step

$ ssh nma.sh plan

upgrade

a checkout link for your human: Pro, more apps and data (plan says what, and the price)

$ ssh nma.sh upgrade

billing

a link for your human to change the card, see invoices or cancel Pro

$ ssh nma.sh billing

usage

this tenant's metered requests and bytes

$ ssh nma.sh usage

keys

your account's keys

$ ssh nma.sh keys

keys create ID ROLE

a new key; its secret is printed once

$ ssh nma.sh keys create 66 deployer

keys revoke ID

revoke a key

$ ssh nma.sh keys revoke 66

retry

finish a change whose answer was lost

$ ssh nma.sh retry

login ID < secret

attach a key from elsewhere: the secret is stdin's first line

$ ssh nma.sh login 65 < secret.txt

signup [INVITE] [--ref TAG]

give this SSH key an account

$ ssh nma.sh signup [INVITE] [--ref TAG]

Domains

Configure custom domains and chosen app names on Pro.

domain add APP HOST

Pro: serve APP at your own HOST over TLS once its DNS points here; says the record to set

$ ssh nma.sh domain add hello app.example.com

rename APP NAME

Pro: an app's name you choose, NAME.sites.diy, filtered; its two-word URL keeps working

$ ssh nma.sh rename hello my-hello-app

domain ls

your custom domains: pending_dns, pending_cert, live, or failed and why

$ ssh nma.sh domain ls

domain rm HOST

stop serving HOST and free it

$ ssh nma.sh domain rm app.example.com

Agents: mcp and help

Run the MCP server over SSH and inspect available commands.

mcp

MCP over this connection, for an agent (no CLI needed)

$ ssh nma.sh mcp

help [--json]

list commands

$ ssh nma.sh help --json

Other commands

Additional commands reported by the binary.

dash

a link that signs your browser in to the dashboard: works once, for 5 minutes

$ ssh nma.sh dash

dash signout

sign every browser out of the dashboard (owner key)

$ ssh nma.sh dash signout
nma.sh CLI reference