Setup Guide
Everything needed to go from a fresh machine to a live deployment with the deplo CLI — install, authenticate, connect Vercel and Render, deploy. Five minutes if your accounts already exist.
Prerequisites#
- Node.js 20+ and npm —
node --versionshould printv20or higher. - git — the CLI identifies your project from its
originremote. - A GitHub account with a repository that has a GitHub remote.
- A free Vercel account (frontend hosting) and a free Render account (backend hosting). deplo.ai deploys into accounts you own.
Install the CLI
Install globally to get the
deplocommand, or skip installation entirely and prefix every command withnpx @deplo.ai/cli:bashnpm i -g @deplo.ai/cliVerify the installation
bashdeplo --helpYou should see the command list and the tagline “Deploy full-stack apps into your own Vercel + Render accounts.”
deplo --versionprints0.1.0.Sign in
bashdeplo loginThis opens your browser to an authorization page; click Authorize and return to the terminal. On a machine without a browser (SSH, containers), use
deplo login --tokenand paste a token created at deplo.in → Settings → CLI tokens. Details in Authentication.expected output→ opening https://www.deplo.in/cli-auth?port=52814&state=9f2c…&host=mbp.local (no browser? run `deplo login --token` and paste one instead) ✓ signed in patrickdev · token saved to /Users/patrick/.config/deplo/config.jsonConnect Vercel and Render
Check what is connected, then connect whatever is missing:
bashdeplo whoami deplo connect vercel deplo connect renderconnect vercelopens a one-click OAuth authorization in the browser.connect renderasks for a Render Personal API key (starts withrnd_) in a masked prompt — create one at Render → Account Settings → API Keys.TipYou can skip this step. If a provider is missing when you rundeplointeractively, the CLI asks “Vercel isn't connected yet. Connect now?” and runs the connection inline.Deploy
From inside any cloned repository with a GitHub remote:
bashcd my-app deploThe CLI detects the repo from your git remote, confirms, then follows the live deployment log. If the deployment needs environment variables, you are prompted for each one (input is masked) and the deployment resumes automatically. It ends with your production URLs and
● Deployed in 2:41— or, on failure, a pointer to the full log and AI diagnosis. See the Command Reference for the full output.
Updating#
npx @deplo.ai/cli always runs the latest published version. A global install is updated explicitly:
npm i -g @deplo.ai/cli@latestUninstalling#
npm uninstall -g @deplo.ai/cli
rm -rf ~/.config/deploRemoving ~/.config/deplo deletes the stored token from the machine, but the token itself remains valid server-side — revoke it at deplo.in → Settings → CLI tokens. Your projects, deployments, and provider connections live on the platform and are untouched by uninstalling the CLI.