Campos Cloud in your terminal

Create applications from a folder, deploy with one command and follow the live console, without opening the browser.

$ npm install -g @camposcloud/cli@latest
View on npm

Free · Node.js 22.12 or newer · Windows, macOS and Linux

Everything you do in the dashboard, from the terminal

Applications, databases, variables, files and teams, with the same data and permissions as your account.

An arrow-key panel

Run campos and move through the Applications, Databases and Account tabs with the arrows, Enter and the mouse.

Host a folder or a ZIP

Press n in the panel or run campos create: the CLI zips the folder (or sends a ready ZIP) and suggests the name, runtime and main file.

One-command deploys

campos deploy sends the folder and restarts the application. Whatever shouldn't go up goes in .camposignore.

Live console

campos logs -f follows the application's output in your terminal while it runs.

Environment variables

Set, remove, pull and push a whole .env, with the values hidden until you ask.

Databases and teams

Connection string, password change and memory for databases, and any command in the team you choose.

From folder to live in three commands

The folder stays linked to the application: after the first create, every deploy is a single command.

How to start

  1. 1

    With Node.js 22.12 or newer, install with npm install -g @camposcloud/cli@latest. The same command updates the CLI.

  2. 2

    Run campos. If you are signed out, choose how to sign in: through the browser, checking the code, or by pasting a token.

  3. 3

    In the panel, press n on the Applications tab to host a folder or a ZIP, or see everything with campos --help.

Made to avoid surprises

  • When signing in through the browser, you check the code before authorizing.

  • The access shows up in Active sessions, in your profile, and can be ended from there.

  • When you paste a token, it isn't shown on screen. In CI, use the CAMPOS_TOKEN variable.

  • Deleting an application asks for confirmation and the typed name.

Prefer the editor?The VS Code extension does the same without leaving your code.See the extension