Browser sign-in
mw login shows a code and opens the console for you to confirm. It even works over SSH: just open the link on another device.
Create servers, ship apps, connect to your database and follow the logs without leaving the terminal. It works the same on your computer, on a server over SSH and in your CI pipeline.
Terminal
# your servers, as a table or as JSON$ mw instances -o json# always one awake, up to five under load$ mw scale --min 1 --max 5# back to version 3, no new build$ mw rollback 3# a spending cap for the period$ mw wallet cap set 500 --stopPick the method for your system. The CLI updates the same way.
macOS and Linux
curl -fsSL https://raw.githubusercontent.com/masterdaweb/mw-cli/main/install.sh | shHomebrew
brew install masterdaweb/tap/mwnpm
npm install -g @masterdaweb/cliWindows (PowerShell)
irm https://raw.githubusercontent.com/masterdaweb/mw-cli/main/install.ps1 | iexDocker (CI)
docker run --rm -e MW_TOKEN ghcr.io/masterdaweb/mw-cli:0.2.0 instances -o jsonOn your computer, mw login opens the console for you to confirm. In CI, use a token in the MW_TOKEN variable.
Terminal
$ mw login # shows a code and opens the console$ mw whoami # the token's account and scopes$ mw logout # revokes this computer's tokenmw deploy, mw launch, logs, one-off commands, variables, databases, volumes, domains and rollback, one by one, in the documentation (in Portuguese).
Fast when you type, predictable when you automate.
mw login shows a code and opens the console for you to confirm. It even works over SSH: just open the link on another device.
Before deleting or reinstalling an instance, the CLI asks you to type its id back; in scripts, --yes answers for you. Services, databases, buckets and volumes are deleted only with --confirm and the name.
Commands that keep working after they return accept --wait and show progress until they finish.
-o json or -o yaml print what the API returned; -q prints only the IDs, so you can chain commands.
Completes commands and names in bash, zsh, fish and PowerShell.
Every version is checked against the release's checksums.txt before it installs.
The same resources as the console, one command at a time.
Create, resize, take snapshots and enter rescue mode.
VPS servers
$ mw instances create --plan c2m4 --image ubuntu-24-04 --ssh-key work --name web-1 --wait$ mw instances resize web-1 --plan c4m8 --wait$ mw snapshots create web-1 --name before-upgrade$ mw instances rescue enter web-1 --ssh-key workDeploy a folder or a repository, follow along and roll back.
Serverless apps
$ mw launch ana/loja$ mw deploy$ mw logs -f$ mw rollback 3Create, connect and bind to services without copying a password.
Databases and files
$ mw db create loja-prod --extension vector$ mw db connect loja-prod$ mw storage create loja-uploads$ mw storage bind loja-uploads --service web --layout frameworkFirewall, DNS records and a spending cap.
Networking, DNS and costs
$ mw firewalls rules add web --direction in --action ACCEPT --protocol tcp --port 80,443$ mw dns records set loja.com.br www A 203.0.113.10$ mw usage$ mw wallet cap set 500 --stopThe foundation of it all: every console resource has an endpoint, with JSON responses and errors that tell you what to do.
Declare servers, networks, DNS, apps, databases and buckets in HCL, and version your infrastructure with your code.
Connect Claude, Cursor or another MCP client and manage your account by chatting.
Create your account, generate a token and make your first call in minutes.