Hobby
Take the idea off localhost and put it online.
- Up to 2 vCPU
- Real-time metrics
- Blob Storage
- One-click rollback
- Square Shield anti-DDoS
- Cubic AI agent
FromR$12.49/mo≈ $2.25
Sign in with a code in your browser, deploy any folder with one command, and reach logs, databases and workspaces from the same prompt, with output your scripts can read.
The install script and the npm package download the build for your system from the latest release and check its checksum before installing it.
curl -fsSL https://cli.squarecloud.app/install | bashInstalls to /usr/local/bin, so it may ask for your password.
npm i -g @squarecloud/cliNeeds Node.js with npm. The same command also works on macOS and Linux.
The CLI shows a code, you approve it in your browser and the terminal gets a key of its own, the same way the VS Code extension connects.
Run the login command and your browser opens on the approval page, while the terminal shows an eight-character code and a countdown.
Type the code on the Square Cloud page and approve. Never enter a code that someone sent you.
The terminal confirms your account and saves a key made for it, with only the permissions its commands use.
auth whoami shows until when--no-browser prints the link to open anywhere--token or --with-tokenUpload the folder you're in as a new application, send changes to one that already exists, or link a GitHub repository so every push deploys it.
The CLI zips the current folder with your ignore rules, creates the application and prints the link to its page in the dashboard.
uploadupload --file
Send the folder, or a zip, to an application that already exists. It keeps its ID, domain and settings.
commitcommit -rcommit --path
Link a repository and branch through the Square Cloud GitHub App, or create a webhook with a GitHub token, without leaving the terminal.
app deploy github linkapp deploy webhookapp deploy list
upload, commit and zip leave out what squarecloud.ignore lists in the root of your project. The VS Code extension reads the same file, with the same rules.
# for comments, ! to bring a path back, dir/ for folders only, /build for the root only, and *, ?, [abc] and **. The last matching line wins, and case doesn't matter.
node_modules, .git, .github, .vscode and the npm, pnpm and Yarn lockfiles stay out before your rules run. A line like !yarn.lock brings one back.
squarecloud zip builds the same archive in your folder, so you can open it and see exactly what would go up.
Your application loads its variables through a shell. Since version 3.1.1, the CLI sends values with spaces or characters such as $, & or ; in quotes, so the shell can't cut them short or expand them.
Pass as many KEY=VALUE pairs as you like. The CLI takes the application from squarecloud.app or lets you pick it from a list.
app env setapp env list
Reads KEY=VALUE lines from a file and skips comments and blank lines. Lines that start with export and quoted values work too.
--from-file .env
Replace every variable at once, or remove them all. Both ask before changing anything, and a replace needs at least one new variable.
app env replaceapp env remove --all-y
Output a program can read, exit codes that mean what they say and a key that works without a browser.
Commands that print data can answer in JSON, with only the result on stdout. The others refuse the flag with an error rather than print text a parser would trip on.
--json
Every failure exits with 1. When a confirmation can't be asked, with no terminal and no flag to answer it, the command fails and changes nothing.
-y
Errors, questions and notices go to stderr, and so does the progress when you ask for JSON, so a pipe carries only the result.
stdoutstderr
Set a key from your account as an environment variable and every command uses it, with no login. When CI is true, the browser login won't start.
SQUARECLOUD_API_KEYCI=true
One variable prints the method, path, status and duration of each API call to stderr, never headers, query strings or bodies.
SQUARECLOUD_DEBUG=1
The Square Cloud Action installs the CLI on the runner, checks it against the release checksums and runs any command with your key.
squarecloudofc/github-action@v2
Logs, metrics, files, snapshots, domains, databases and workspaces, each one a command away.
Print the latest lines, or follow the output live along with each status change. Lines your application writes to stderr stay on stderr.
app logsapp realtime
CPU, memory, disk and uptime for one application or a line for each of them, plus the last 24 hours of metrics.
app status --allapp metrics
List, read, write, move and delete the application's files. Writing from a file keeps binaries intact, and reading into one asks before overwriting it.
app file readapp file write
Create a snapshot and download it, list its versions and restore one, for applications and databases.
app snapshot createdb snapshot restore
Set a custom domain, get the DNS records to create, read analytics, errors and performance from the edge, and purge the cache.
app network domainapp network analytics
Create MongoDB, MySQL, PostgreSQL and Redis databases, start or stop them, download the TLS certificate and rotate the password.
db createdb credentials reset
Messages, help and tables follow your system's display language on every run. LC_ALL picks another one for a single command.
Most commands take the application from squarecloud.app, or list yours so you can pick one.
Deleting, replacing every variable, restoring a snapshot or purging the cache asks first, and scripts can confirm with a flag.
The code is on GitHub, and each release publishes its builds with SHA-256 checksums.
From your first deploy to 1 TB of RAM, without switching platforms. Each phase adds memory and features to the one before, and upgrades apply instantly.
Take the idea off localhost and put it online.
FromR$12.49/mo≈ $2.25
Production with databases, your own domain and a team.
FromR$44.99/mo≈ $8.10
More memory, daily snapshots and visibility into what runs.
FromR$124.99/mo≈ $22.50
Large operations, with a private Discord channel.
FromR$299.90/mo≈ $53.98
| Hobby | Standard | Pro | Enterprise | |
|---|---|---|---|---|
| Compute | ||||
| RAM | 1 GB → 2 GB | 4 GB → 8 GB | 12 GB → 24 GB | 32 GB → 1 TB |
| vCPU | 1 → 2 | 4 | 6 → 12 | 16 |
| Platform | ||||
| Real-time metrics | Included | Included | Included | Included |
| Blob Storage | Included | Included | Included | Included |
| One-click rollback | Included | Included | Included | Included |
| Square Shield anti-DDoS | Included | Included | Included | Included |
| Cubic AI agent | Included | Included | Included | Included |
| Databases | Not included | Included | Included | Included |
| Custom domain | Not included | Included | Included | Included |
| Load balancerapps per domain | Not included | 2 | 5 | 10 |
| AI Gateway | Not included | Included | Included | Included |
| Daily application snapshots | Not included | Not included | Included | Included |
| Performance analytics | Not included | Not included | Included | Included |
| Cubic Pro and routines | Not included | Not included | Included | Included |
| Team and support | ||||
| Workspacesmembers per workspace | Not included | 3 → 7 | 10 → 20 | 20 → 50 |
| Priority support | Not included | Not included | Included | Included |
| Private Discord channel | Not included | Not included | Not included | Included |
4.9 out of 5
482 reviews on Google and Trustpilot
Hosted in a partner datacenter with certifications
Learning Center articles that answer your questions before and after you deploy.