The CLI
Ship any folder as an app in one command, configure and operate it, and reach every API operation from your terminal, made for coding agents.
The noclick command is the platform from your terminal, made first for a coding agent driving a shell: it never stops to ask a question, every answer can be JSON, the value you want next is its last line, its exit status says what happened, and every error names the command that fixes it. Each command is a few of the SDK's own calls, so what works in your code works here, with the same errors.
In 60 seconds
From a folder holding a site, a Worker, a Vite, Next.js, Astro or React Router app, a Dockerfile or a Python or Node server:
npx noclick setup nc_setup_... # or: pip install noclick && noclick setup nc_setup_...
npx noclick deploy
# Deploying /home/ana/booking to booking (production): a Vite site.
# ✓ Push 1.2s
# ✓ Queue 0.6s
# ✓ Build 7.5s
# ✓ Release 2.3s
# ✓ Health check 1.1s
# ✓ Ready: https://booking.noclick.site · production · release 8d3c… · 12.9s
# https://booking.noclick.siteThe setup code comes from the console's Quickstart, which hands it to your coding agent; on a machine with a browser, noclick login signs in instead. The last line is the live URL. The first deploy makes the app, links the folder to it, and every later command there acts on it.
Install
pip install noclick # the CLI and the Python SDK
noclick --version
npx noclick # or the same CLI from the TypeScript package, Node.js 20 or laterTab completion for bash, zsh, fish or PowerShell: noclick completion <shell> prints the script, and --install puts it where the shell loads it (~/.config/fish/completions for fish; for the others, a script under ~/.local/share/noclick and one line in ~/.bashrc, ~/.zshrc or your PowerShell profile that loads it), saying where; running it again changes nothing. For PowerShell it asks each PowerShell on the machine where its own profile is (Windows PowerShell and PowerShell 7 keep different ones, and OneDrive can move Documents), and says so when PowerShell's policy runs no scripts (Windows' default, Restricted), which a profile needs: Set-ExecutionPolicy -Scope CurrentUser RemoteSigned lets it. Each Tab asks the CLI what comes next (commands, every API operation, flags, their choices, your profiles), so it follows the CLI as it updates; app names come from a list the CLI keeps for a few minutes, read again in the background, never while you wait.
noclick completion zsh --install
# Installed noclick completion for zsh: /home/ana/.local/share/noclick/completion.zsh
# /home/ana/.zshrc loads it (added a line).When a newer noclick is out, a command run at a terminal says so in one line on stderr, at most once a day, with how to update. It asks the registry (PyPI, or npm for npx noclick) in the background, at most once a day, so no command waits for it; it says nothing when the output is piped, in CI, with --json, or when NOCLICK_NO_UPDATE_CHECK is set.
noclick alone says what to run first (and, signed out, No account? noclick signup --accept-terms), and once you're signed in, who you are and the folder's app:
noclick
# NoClick's CLI: ship a folder as an app, configure and operate it, and reach every API operation.
#
# Signed in as ana@acme.com; this folder is linked to booking.
# Start here:
# noclick deploy Ship this folder as an app and print its live URL.
# noclick status The app on one screen: its URLs, live release, health, errors and spend.
#
# Then:
# noclick ls What your account has, by kind (the same as noclick resources).
# noclick --help Every command, by what it's for.
# noclick docs cli The CLI's guide, as Markdown.
# noclick help --json Every command, its flags and examples, as data.noclick --help lists the commands by what they're for, as this guide does (Start, Ship, Configure, Operate, Everything else, Teach), with the API's areas as one line; noclick --help --all lists each area too. Each command's line there fits an 80-column terminal, and its own --help says it whole. A command's --help lists its arguments and options, then the flags every command takes (--profile, --color, --help) under "Global flags", and ends with its examples; both CLIs print the same help, at a terminal or piped. A mistyped command names the closest ones and exits 2, and so does a flag a command doesn't have, with that command's usage:
noclick deplyo
# Unknown command 'deplyo'. Did you mean: deploy?
# Every command: noclick --help
noclick secret ls --jsn
# error: noclick secret ls: no flag --jsn; did you mean --json?
# usage: noclick secret ls [OPTIONS]
# run: noclick secret ls --helpOlder spellings keep working, and are listed nowhere: noclick settings list|set|delete <app> … is noclick env ls|set|rm … --app <app>, and noclick ops wait is noclick wait.
Both run from one command spec: the same commands, flags, answers and exit codes, and they keep a key and link a folder (.noclick/project.json) in the same places, so what one keeps, the other uses. Both keep a login's key in the OS keychain under the same name (service noclick, the profile as its account), or in a file only you can read (~/.config/noclick/credentials.json), so a login one makes, the other signs in with. npx noclick reaches the keychain through the OS's own tool (security on macOS, secret-tool on Linux, PowerShell on Windows), with no native module, once a command. On Windows, npm runs a tool from PowerShell through a script, which Windows' default policy refuses (npm itself too): Set-ExecutionPolicy -Scope CurrentUser RemoteSigned allows it, or run noclick.cmd; pip install noclick gives a noclick.exe, which runs under any policy.
npx noclick runs every command pip install noclick does, with the same flags, output, --json and exit codes; a test runs both against one fake API and compares what they print. The interactive ones (agents chat, db shell, machines ssh, shell) need a terminal for what you type, and machines ssh and shell refuse without one, on Windows too (use WSL).
To run the Python CLI without installing it, uvx noclick@latest <command> (or pipx run noclick <command>). That also skips any other program called noclick earlier on your PATH, such as the self-hosting launcher the npm package's 0.1 releases installed: if noclick deploy answers "Unknown command", that's the one answering, and npm install -g noclick@latest replaces it.
How every command answers
What an agent reads, the same on every command and in both CLIs:
- It never blocks on a person. No prompts, no browser it waits on. What only a person can do (a payment, an approval, a sign-in, an answer) prints where they do it and exits 3; run the command again once they have.
- The useful value is the last line. Results go to stdout and progress, hints and errors to stderr; without
--jsonthe value you want next (a URL, else an id) is stdout's last line, alone, sourl=$(noclick deploy | tail -1)captures it. --jsonon every command prints the whole answer as JSON, errors too as{"error": {...}}. Both CLIs write values one way, as JavaScript'sJSON.stringifydoes: a whole number as an integer (25.0the API sent is25),true,falseandnull, times as the API sent them; akey: valueline writes its value the same way, a list or object on one line.- Errors say the next command. An error prints its message, its next step (any API call or operation it names said as the
noclickcommand that makes it), eachnoclickcommand that takes it afterrun:(a whole command line, run as it is; one the next step already ends with isn't said twice, and--jsonlists them all incommands), a link only a person can open afteropen:, and the request id to quote to support, from the same error types the SDK raises. An API it can't reach says so plainly (Can't reach api.noclick.com (connection refused)., namingNOCLICK_API_URLwhen you set another), and a key the API refuses saysThis key isn't valid: run noclick login., once, whatever the command read. - Money is said first. Anything that costs says what before it runs;
--max-usd(anddomains buy's--max-price) refuses above a ceiling and changes nothing. - Nothing waits forever. A deploy gives up after 15 minutes (
--timeout),logs --followafter the--timeoutyou give it, and the work goes on:noclick wait <id>picks it up.--no-waitprints the operation's id at once. - No secret reaches the screen. A secret's value comes from a variable of your shell or a pipe, never the command line, and no command prints it or a key.
- Colour only for a person. At a terminal, help has its sections under headings, lists are bordered tables fitted to its width (a time too wide for its column is shown shorter,
16:16today andNov 28this year, never cut) and errors are in red. Piped or redirected, underNO_COLOR,TERM=dumborCI, it's plain text exactly as a script reads it.noclick --color always|neverdecides past that.
noclick agents get support
# error: No agent named 'support'.
# next step: List them with noclick agents list.
# run: noclick agents list| Exit status | Means |
|---|---|
| 0 | It worked. |
| 1 | It failed; stderr says why and what to do next. |
| 2 | The command line was wrong (a missing argument or field, an unknown flag), or the API refused the call's arguments. |
| 3 | It's waiting on a person: an approval, a payment, a sign-in or an answer. It says waiting on a person:, and the link where they act is printed after open:. |
| 4 | A limit, a price or a policy refused it: a spending cap, --max-usd or --max-price, a rate limit, a permission the key lacks. Nothing was done. |
| 124 | A wait ran out (--timeout); the operation is still running, and noclick wait <id> picks it up. |
| 130 | You pressed Ctrl-C. |
noclick help --json prints every command, its arguments, flags and examples, and these codes, as data: each command's and API operation's summary is its one line in a list, its description its whole help (for an operation, the API's whole text).
Start
No account: sign yourself up
An agent with no NoClick account and no person to sign in makes one for itself with noclick signup, the CLI's form of agent sign-up. --accept-terms is required: it accepts the Developer Terms and the Acceptable Use Policy for whoever runs you, and without it the command prints both and exits 2. The key is kept where noclick login keeps it and never printed; the last line is the link your person claims the account with:
noclick signup --accept-terms --purpose "Track orders for a bakery" --email ana@example.com
# Signed up: a NoClick account for claude-code, which a person claims.
# Works now: making agents, workflows, channels, dicts, queues, memories and webhooks, and every read.
# Waits for a person to claim it (within 7 days):
# - anything that costs money (...), buying anything, sending email, texts or calls, ...
# Give your person this link to claim the account:
# https://www.noclick.com/claim/...--agent names what you are as your person reads it (by default the harness running the CLI, such as claude-code or codex, else cli); --purpose is what the account is for, and --email the only person who may claim it. Until someone claims it, noclick whoami and noclick status end with unclaimed: give your person <claim link>. Refused (past a sign-up limit, or while sign-up is switched off), it exits 4 with the API's words.
Sign in
A coding agent signs in with a one-time setup code, which the console's Quickstart prompt hands it. noclick setup redeems it for a key and keeps it where noclick login would; the key never reaches the terminal or the agent's context. A code works once, for 30 minutes:
noclick setup nc_setup_...
# Signed in as ana@acme.com.noclick login signs you in from a browser. It prints a link and a short code; open the link (it opens for you at a terminal), sign in to NoClick if you aren't, check the code and the machine match, and approve:
noclick login
# Open https://noclick.com/dashboard/developers/cli and enter the code WDJB-MJHT
# Signed in as ana@acme.com.The page shows the machine's name and the address the sign-in came from. Approve only a sign-in you started yourself, just now: whoever you approve gets a key to your account. Deny ends it, and the CLI says so. A code lasts 15 minutes; after that, run noclick login again.
Approving creates an API key named after your machine, like "CLI on ana-mbp", with every scope except the ones that read secrets (raw provider tokens, card numbers and webhook signing secrets). It shows on the console's API keys page with the others. The CLI keeps it in the OS keychain (macOS Keychain, Windows Credential Manager or the Secret Service on Linux); on a machine without one, like a container or a server, or a Windows logon with no credentials of its own (over SSH, or as a service), in a file only you can read instead, and says so. --store chooses:
noclick login --store keychain # the OS keychain, or nothing
noclick login --store file # ~/.config/noclick/credentials.json, mode 600
noclick login --no-browser # print the link without opening a browser
noclick login --scope agents:terminal # also ask for a scope a key holds only when it's namedNOCLICK_KEYCHAIN=off keeps every key in the file and never asks the keychain, in both CLIs: set it where a shell shouldn't reach the keychain of the person it runs as, like a test or a shared machine.
--scope (repeat it for more) asks for a scope a key holds only when it's named, on top of the usual ones: agents:terminal to take over an agent's terminal or run noclick shell --agent, say. The page lists each one in plain words before you approve, and the key holds them only once you do; a scope a login's key holds already, or one NoClick doesn't know, is refused before anything opens. A command a stored login's key lacks such a scope for says so, with the command that gets it: run: noclick login --scope agents:terminal.
noclick whoami asks the API which account the next command acts in, and shows the key it will use (by its name, as the API names it, from NOCLICK_API_KEY too), where that came from, and any scopes it holds only because they're named (Scopes agents:terminal; named_scopes in --json). noclick logout revokes the key and forgets it; a key it can't revoke (you're offline, say) stays stored, so you can run it again.
noclick whoami
# Account Ana Lima, ana@acme.com (6b3f1d2e-4a5c-4e7f-9a1b-2c3d4e5f6a7b)
# Key CLI on ana-mbp (nk_live_ab12…), in the OS keychain
# Scopes agents:terminal
# Profile default (the default)
# API https://api.noclick.comIn CI, set NOCLICK_API_KEY to a key with the scopes the job needs: it wins over anything stored, and NOCLICK_API_URL points it at another API. To stay signed in to more than one account, give each login a profile:
export NOCLICK_API_KEY=nk_live_...
noclick deploy booking --branch main
noclick --profile test login
noclick --profile test status # or export NOCLICK_PROFILE=testSwitch between logins
noclick profile list shows every login this machine keeps, with its account and key, and marks the one commands use; noclick profile use <name> makes another the default, and noclick profile show says what one holds (the active one by default). None of them call the API. --profile, then NOCLICK_PROFILE, still win over the default, and whoami says which profile is active and why: from --profile, from NOCLICK_PROFILE, set by noclick profile use, or the default.
noclick profile list
# PROFILE ACCOUNT KEY API
# * default ana@acme.com CLI on ana-mbp https://api.noclick.com
# test ana@test.acme CLI on ana-mbp https://api.noclick.com
# * is active (the default). Switch: noclick profile use <name>
noclick profile use test
# Commands now use the profile test (ana@test.acme).noclick logout of the profile use chose puts the default back to default.
The console, and what's new
noclick dashboard opens the developer console in your browser, and noclick dashboard <app> the app's page there; it prints the URL too, and only prints it when the output is piped or there's no display. noclick changelog lists what changed in NoClick lately, newest first, read with no key from the changelog's Markdown page (--limit for more, --json for each change's date, title, slug, kind, areas, URL and body); noclick changelog <title or slug> prints one change whole (a word of its title will do when only one holds it). NOCLICK_DOCS_URL points it at another site's docs, such as a self-hosted install's.
noclick dashboard booking
# https://noclick.com/dashboard/developers/resources/apps/5c2e8a1f-...
noclick changelog --limit 3
noclick changelog "agent instructions"Start an app
noclick init makes the folder an app: it writes a template or has the app's coding agent draft one, makes the app and its repo, and links the folder:
noclick init booking --template worker # or static, or python
noclick init booking --describe "a page that takes table bookings and emails me each one"
noclick deployA template is a few files that deploy as they are, with nothing to install: static (HTML and CSS), worker (a Worker serving an API route in front of a folder of files) or python (a server on Python's standard library, in a container). --describe hands what you describe to the app's coding agent, which writes the app and pushes it to its own branch; init waits for it (--timeout, 15 minutes by default) and checks its draft out in the folder. --no-wait prints the operation's id instead: noclick wait <id>, then noclick init --fetch checks the draft out. The agent's work is charged to your account at what its model costs.
Tie a folder to an app
noclick link booking # this folder acts on booking from now on
noclick link booking --create # make it (and its repo) first
noclick unlink # untie it; the app is unchanged.noclick/ holds the app's id and name (never a key) and a .gitignore of its own, so it's never committed or deployed. Every command takes --app to act on another app.
Ship
Deploy
noclick deploy ships the folder you're in to its app, whatever the folder holds, waits for it to go live and prints its URL last:
noclick deploy
# Deploying /home/ana/booking to booking (production): a Vite site.
# ✓ Push 1.2s
# Shipping 3f2a1c9 to main.
# ✓ Queue 0.6s
# ⠹ Build 4.1s
# > vite build
# vite v6 building for production...
# https://booking.noclick.siteWhile it goes, each stage (push, queue, build, release, health check) shows a spinner and its time, then a tick or a cross; the build's own lines print as they come, and it ends with where it serves, the release's id and how long it took. Piped or in CI, each stage's start and end is a plain line of its own (Build…, then Build: 7.5s or Build: failed after 7.5s). Ctrl-C stops following and prints noclick wait <id>: the deploy goes on. rollback and promote show theirs the same way. --json prints what it printed before; the progress goes to stderr.
The first deploy of a folder that isn't tied to an app makes one named after it (with its repo and a $10 monthly budget; --budget sets another) and links the folder to it. A folder named like an app you already have is never deployed over it: it says so, and noclick link <app> ties the folder to that app first. noclick deploy booking (or --app booking) names the app instead; a name that doesn't exist needs --create.
In a git checkout it ships the commit you're on. With uncommitted or untracked files, it ships the folder as it is: a snapshot of the working tree as a commit of its own on top of yours, listing each file that went, while your checkout, its index and its branch never change. --only-committed ships commits alone and refuses uncommitted work. Files .gitignore names stay on your machine. Outside git, it commits the folder through the API, sending only what changed since the last deploy (up to 1,000 files and 50 MB at once; a checkout pushes with git, whatever its size), leaving out node_modules, virtual environments, caches and what the folder's .gitignore names.
A file that looks like a secret (.env, .dev.vars, a private key, a token written into .npmrc; never a template such as .env.example) is never shipped and never stops a deploy: it's left out, and the deploy names it with the command that gives the app each value instead, one per name an env file sets (noclick secret set STRIPE_KEY --from-env STRIPE_KEY), never a value. --json lists them under left_out (path, names, next_steps).
Before anything is made or pushed, it says what the folder is and refuses:
- a file that looks like a secret committed in the commit it ships, which would put it in the app's repo:
git rm --cachedit,.gitignoreit, commit, and change its values; - a site of files that would publish server code beside its pages (
app.pynext toindex.html): deploy only the site's folder (--dir public), or make it a server; - a link that leads out of the folder.
The branch is the one you're on: the app's production branch (main unless you set another) goes live, and any other becomes a preview with a URL of its own, which noclick promote puts live after its checks. --prod ships to production, --preview [name] as a preview, --branch under any name. Outside git a deploy goes to production unless it says --preview.
noclick deploy --preview # a preview, named after your branch
noclick deploy --dir ./site --prod # another folder, live in production
noclick deploy --no-wait --json # the operation id and what went, as JSONWhen the app's repo has commits your checkout doesn't, the push is refused. That happens when an app service commits code for you, such as sign-in. The CLI fetches them as noclick/<branch>; merge them and deploy again (git merge noclick/main). A snapshot an earlier deploy made is never in the way: the next one takes its place.
When a build fails, the CLI prints the end of its build log and exits 1 (noclick logs --build prints a build log whole), and so does a deploy that went live but whose check failed (its warning and what to fix are printed; it stays live). The push uses a write token that lasts ten minutes and never lands in your git config or the process list, never stops to ask for a password, and gives up if the repo's git endpoint sends nothing for five minutes. See Repos.
What the app is given
A noclick.json at the folder's root names what the app is given before it runs, and every deploy gives it first, saying each thing it changed:
{
"bindings": {"DB": {"database": "booking-db"}, "FILES": {"bucket": "uploads"}},
"env": {"PUBLIC_BASE_URL": "https://book.acme.com"},
"crons": [{"cron": "0 9 * * 1-5", "path": "/jobs/reminders", "tz": "America/New_York"}]
}A binding's database, bucket, dict or queue is made in the app's region when you have none by that name, then bound; settings are set; schedules are added or changed. Nothing the file doesn't name is touched. A deploy made any other way (a push, the API) fails naming what the app lacks, so the file is never silently ignored.
A Workers project carries over. Its wrangler config's vars, d1_databases, kv_namespaces, r2_buckets, queues and triggers.crons are written into noclick.json as NoClick's own (a D1 database a database, a KV namespace a dict, an R2 bucket a bucket, a cron a path NoClick POSTs, /__scheduled unless you change it), each one said. NoClick's build doesn't give a Worker Cloudflare's own resources, so until those keys leave the wrangler config the deploy stops there, naming what the code reads instead (Project.current().database("DB") for env.DB).
See it, go back, delete it
noclick status # URLs, the live release and its health, errors, bindings, secrets, settings, spend
noclick open # print the URL (and open it at a terminal); --preview for a preview's
noclick releases # production's releases, newest first (--all for previews too)
noclick rollback # the release before the live one, without rebuilding
noclick rollback 3f2a1c9 # or one by its id or commit
noclick promote new-form # a preview live in production, after the app's checks
noclick delete # says what goes; --yes deletes it to the trashstatus reads everything at once, and a part your key can't read is marked unread rather than failing the rest. status and releases both open on the app's primary URL, with its other addresses (each domain serving it) after also, and --json names them as url and urls; a release's own url is that release's address alone. noclick delete says what goes (the addresses that stop serving, what goes to the trash with it, how it's undone) and deletes nothing (exit status 2, its last line the command that deletes it); --yes deletes it to the trash, where it stays restorable for 30 days, and --delete-data takes its repo and the data only it binds too.
Edit it live
noclick live is the app's live session as your development loop: its site on a dev server, with its real bindings, at its own URL, and nothing installed on your machine:
noclick live --hours 2 --max-usd 1 # prints the link that shows the session
git commit -am "Bigger buttons" && noclick live push
noclick live status
noclick live end # builds, checks and deploys what was editednoclick live (or live start) says what the session costs first, refuses above --max-usd, ends it after --hours (1 by default) at most, turns live editing on for the app, and waits for the session to start. Its last line is a link that opens the app in live mode, for whoever opens it; everyone else still sees production. live push sends the commit you're on to the session's noclick-live branch, where it shows at once. live end deploys what was edited only once its build and check pass, leaving production as it was otherwise; --no-deploy stops the session without deploying.
From a coding agent on NoClick's MCP server
An agent connected to NoClick's MCP server gets its code in with the repos_push tool, which hands back one command to run in the project's folder:
uvx noclick@latest deploy --app booking --create --token nk_mcp_...--token takes a deploy token instead of your key: it lasts 30 minutes, reaches that one repo and the apps deploying it (finding them, pushing, creating the app, deploying and reading what follows), and can't change the app's budget or touch anything else. It acts as the agent's MCP connection, so the same rules hold: deploying the production branch needs the connection's deploy permission, your policy applies, and revoking the connection ends the token.
Configure
Secrets and settings
noclick secret set STRIPE_KEY --from-env STRIPE_KEY --env production
printf %s "$MAPS_KEY" | noclick secret set MAPS_KEY --stdin
noclick secret ls # names only, never values
noclick secret rm MAPS_KEY
noclick env set PUBLIC_BASE_URL=https://book.acme.com FEATURE_X=on
noclick env ls --app booking # any app, not just the folder's
noclick env rm FEATURE_XA secret's value comes only from a variable of your shell or a pipe, never the command line, and is never printed; --stdin refuses a terminal rather than wait on one. --env gives it to production, preview or all (the default). Secrets and settings reach the app at its next deploy. In a linked folder whose noclick.json names env, env set and env rm change it too, so the next deploy keeps what you set. Every command about an app takes --app (by name or id) for an app other than the folder's.
Bind data
noclick bind db booking-db # made if missing, bound as BOOKING_DB (--as names it)
noclick bind bucket uploads --public --as FILES
noclick bind dict sessions
noclick bind queue emails
noclick bind objects ChatRoom # a Durable Object class, declared in the wrangler configbind makes the database (--engine postgres for Postgres; SQLite otherwise), bucket, dict or queue in the app's region when you have none by that name, binds it, and in a linked folder whose noclick.json names bindings writes it there too. Previews get their own copies. bind objects adds the class's binding and the migration that adds it to the Worker's wrangler config, keeping its comments; export the class from the worker's code.
Domains
noclick domains add book.acme.com # serve the app there
noclick domains ls
noclick domains search acmebooking --tld com --tld app
noclick domains buy acmebooking.com --max-price 15domains add prints the DNS records to set where the domain's DNS is managed; a domain you bought through NoClick is pointed at the app at once. domains search shows which names are free and what they cost; domains buy buys one, refusing if it would cost more than --max-price (exit 4). A domain is charged to your account, whoever it's for. Your account's own domain is registered to its default registrant; a user's (--user) to that person, from a JSON file --registrant names (their name, email, phone, address, city, region, postal_code, country and agreement_accepted_at, when they accepted the registration agreement). It registers for the TLD's shortest term (--years for longer) and finishes once the domain is registered and its DNS is set up; if your policy holds purchases for approval, it says so and exits 3.
Operate
What you have
noclick resources (or noclick ls) lists what your account has, by kind, as the app's Resources page does: websites with their URL, release status and this month's spend; machines with their state and price a month; databases, buckets, repos, domains (with their renewal), phone numbers, inboxes, and the sandboxes and volumes your code made. A kind you have none of is left out. --kind narrows it (--kind apps --kind machines), and --json gives every kind's list as the API answers it:
noclick ls
noclick resources --kind machines --jsonIt reads every kind at once and every user's with the account's own. A kind it can't read (a key without that area's scope) says why after the rest, and the command still exits 0; it exits 1 only when it could read no kind at all.
Read logs
noclick logs # the linked app's latest 100 lines
noclick logs booking --since 2h # or 15m, 1d, or an ISO time
noclick logs --follow --level error --timeout 60
noclick logs --grep "POST /book" --json
noclick logs --build # the latest deploy's build log, whole--follow keeps printing new lines until Ctrl-C (or for --timeout seconds), flushing each one, so it works through a pipe. --grep keeps the lines holding its text, in any case, and at most --limit (100) show; when there's more, it says how to see it. A request's own line shows the HTTP status it was answered with where other lines show their level (16:20:58 404 GET https://booking.noclick.site/nope), at a terminal a 4xx in orange and a 5xx in red, as WARN and ERROR are. --json prints each line as one JSON object (at, level, message, deployment_id, environment, request_id, status). A line shows up to a minute after its request, which an empty read says. Lines are kept for 7 days.
Data
noclick db query runs one statement on a database and prints its rows as a table. Pass values with -p, one for each ? in order; a value that parses as JSON (42, true, null) is sent as that, anything else as text. A query runs read-only, so a stray update can't change anything; --write lets a statement change data:
noclick db create booking-db --max-usd 5
noclick db query booking-db "select id, guest, starts_at from bookings where venue = ? limit ?" -p "Harbor Room" -p 20
noclick db query booking-db "update bookings set guest = ? where id = ?" -p "Ana Lima" -p 1841 --write
noclick db shell booking-db # end each statement with ; .tables .schema [table] .quitnoclick bucket copies between your machine and a bucket. Write the bucket side as bucket:key; a key ending in / keeps the file's name, and - reads stdin or writes stdout:
noclick bucket create uploads --max-usd 5 # --public serves every file at a plain URL
noclick bucket ls uploads/invoices/
noclick bucket cp invoice.pdf uploads:invoices/0042.pdf
noclick bucket cp -r ./dist public-assets:site/
pg_dump analytics | noclick bucket cp - uploads:backups/analytics.sqlA folder's copy leaves out its .git history. One upload carries up to 100 MB; for larger files, use S3 tools with the bucket's S3 credentials.
Wait on an operation
Anything that runs long hands you an operation, and --no-wait prints its id. noclick wait waits for one, from any machine, and prints its result, but never waits on a person: when the work waits on someone, it says what for and where they act, and exits 3 (--people waits through). A deploy or promote that went live but failed its check exits 1:
noclick wait 3b9d6f2e-1c4a-4e8b-9f7d-2a6c5e8b1d40 --timeout 60 --jsonA timeout exits 124 and leaves the operation running.
Know what it costs
noclick estimate database
noclick estimate live_editing --usage hours=40
noclick estimate project --option runtime=container --usage requests=500000
noclick estimate --kinds # what each kind takesnoclick live, noclick db create and noclick bucket create print what they'd cost before they run, and take --max-usd: above it, they refuse and change nothing (exit 4).
Agents, users, machines and webhooks
noclick agents list
noclick agents chat support-bot -m "Summarize yesterday's tickets" --conversation daily-digest
noclick users create user_42 --name "Ana Silva" --email ana@example.com --spend-cap 50
noclick machines ssh support-box
noclick webhooks listen --forward-to http://localhost:3000/noclick/eventsagents chattalks to an agent: each line you type is a turn,-msends one message and exits, piped lines go one turn at a time, and Ctrl-D or/exitleaves, printing the conversation's id for--conversation. Ctrl-C during a turn stops waiting, not the turn.users list|createmanages your users.machines sshopens a shell on one of your machines as its user, over NoClick's own connection: no SSH keys, no SSH server. It closes after 15 minutes with nothing typed; on Windows, run it in WSL.webhooks listenbrings events to your laptop, POSTing each to your local URL signed the way a real delivery is, so your receiver checks it withnoclick.Webhook.verify.--secretsigns with a secret you choose,--eventstakes types (operation.*,human.answered),--userone user's events.
A shell
noclick shell 3b9d6f2e-1c4a-4e8b-9f7d-2a6c5e8b1d40 # bash in a sandbox, in this terminal
noclick shell --machine support-box # on a machine (what machines ssh opens)
noclick shell --agent coder # in an agent's sandbox, beside its work
noclick shell --agent coder -- git status # one command: its output, then its exit code
noclick shell --app shop -- npm test # an app's live container takes commands, not a terminalnoclick shell opens a terminal in a sandbox (by its id), on a machine or in an agent's sandbox (each by name or id): bash -l, sized to your window as it changes, with Ctrl-C and Ctrl-D going to it. It closes as bash exits, exiting with bash's code, or after 15 minutes with nothing typed; on Windows, run it in WSL. A command after -- runs instead and needs no terminal, so it works piped: its output, then its exit code as the CLI's own (--json gives stdout, stderr and exit_code; --timeout stops it sooner, at most 90 seconds). An app's live container (live editing) takes commands only. A shell in an agent's sandbox needs a key holding agents:terminal, which a login's key holds only when it asked for it (noclick login --scope agents:terminal). Your own machine runs agents in containers alone, so NoClick can't run commands on it: noclick shell --agent <agent> runs them in one of its agents' containers instead.
Act for a user
Commands act for your account. --user makes one act for one of your users instead, by your id for them, as noclick.as_user does in code:
noclick agents list --user user_42
noclick db query booking-db "select count(*) as n from bookings" --user acmeEverything else: every API operation
Every /v1 operation is a command, made from the API's own description, so the CLI never lags the API: noclick <area> <command>, its path's parameters as arguments and everything else as flags. Each is named for what it does: list reads a collection and get one thing in it, create, update and delete change them, a file's bytes are files-read, files-write and files-delete, and a call that only reads is named for what it returns (noclick usage charges). A name a command had before still runs it. An argument that names something with a name takes the name in place of its id (noclick machines get build-box), read from its list by exact name; when two have that name, it lists both and asks for an id. An area or a group named alone (noclick projects, noclick agents, or with --help) shows its usage, what it's for and its commands under their own names, list, get, create, update and delete first, each with one plain sentence on what it does and a subgroup as one row (Tab completion shows the same); a command's own --help and noclick describe keep the API's whole description. A command's --help reads as a curated one's: each flag's value in a word (--timeout-s SECONDS, --cpu CPU), whether the call needs it, the global flags (which it takes after its own words too), and last the route it calls. ls runs list wherever a group has no ls of its own (noclick projects ls).
noclick help agents # the area's commands
noclick describe agents messages-create # its fields, risk class and an example
noclick agents messages-create support-bot --text "Summarise yesterday's refunds"
noclick machines files-read build-box --path /etc/hostname
noclick secrets list --jsonA field that takes an object or a list of objects takes JSON (--tools '["everything"]', or @file.json), and --data gives the whole body at once (--data @body.json, --data - for stdin), flags given beside it winning. An operation it starts is waited on unless you pass --no-wait. An answer that isn't JSON (a file's bytes, as a sandbox's file read answers) is written to stdout as it came, text as it is and binary untouched, and --output FILE saves any answer to a file instead, printing its name. noclick describe also takes an operation's name (agents_create) or its route (POST /v1/agents). noclick api calls any route with your key, the raw escape hatch, and prints the answer as JSON, as it came (--table for rows instead):
noclick api GET /v1/agents -q limit=5
noclick api POST /v1/secrets --data @secret.jsonTeach an agent
Every guide and skill (a task's playbook) prints as Markdown, with no key, for an agent to read into its context, and noclick mcp sets NoClick up in its harness:
noclick docs # the guides
noclick docs apps # one, whole
noclick docs --search "send email from an agent"
noclick skill ship-an-app
noclick help --json # every command, with its arguments and examples
noclick mcp claude --install # or codex, or cursornoclick mcp prints the entry that adds NoClick's MCP server to Claude Code (.mcp.json in the project), Codex (~/.codex/config.toml) or Cursor (.cursor/mcp.json); --install writes it there. The entry signs in with the key in NOCLICK_API_KEY as the harness starts (--key-env names another variable): the file names the variable, never the key. --oauth has the harness sign in to NoClick in a browser instead. Restart the harness to load it.
Recipes
Deploy, check, roll back
url=$(noclick deploy | tail -1) || exit $?
curl -fsS "$url/health" || noclick rollback
noclick releases --limit 3A deploy whose own check fails exits 1 and stays live, so test what matters to you and noclick rollback to the release before; it doesn't rebuild.
Add a database and a secret, then ship
noclick estimate database
noclick bind db booking-db
printf %s "$STRIPE_KEY" | noclick secret set STRIPE_KEY --stdin --env production
noclick deploy
noclick statusbind makes the database when there's none by that name (what one costs is noclick estimate database); the binding and the secret reach the app at the deploy, and status lists the binding and the secret's name.
Edit live, then ship
noclick live --max-usd 1 | tail -1 # the link that shows the session
git commit -am "Bigger buttons" && noclick live push
noclick live end # builds, checks, deploysRead the errors
noclick logs --level error --since 1h --json
noclick logs --build
noclick status --json--json gives each line's request_id, which noclick logs --grep finds the request's other lines by.
Act for one of your users
noclick agents list --user user_42
noclick agents chat support-bot --user user_42 -m "Where's my refund for order 1841?"
noclick domains buy anasilva.dev --max-price 20 --user user_42 --registrant ana.jsonEvery command takes --user, so what you check in a terminal is what your code does under noclick.as_user.