5050cloud

CLI overview

The 5050 CLI deploys, inspects and manages your services from a terminal or CI, and also answers to railway.

Install

The CLI installs on macOS, Linux and Windows (Windows builds are experimental). On macOS or Linux:

curl -fsSL https://5050cloud.com/install.sh | sh -s -- --cli

It goes to /usr/local/bin when that is writable (or you run it as root), else to ~/.local/bin. Run 5050 alias install to also answer to railway. Release archives for every platform are on the GitHub Releases page.

Log in and deploy

5050 login https://console.example.com
cd my-app
5050 init -n my-app
5050 up --new

Commands

CommandWhat it does
login, logout, whoamiManage the stored token
init, link, unlinkCreate and link projects
status, list, openSee where you are
upUpload this directory and deploy it
redeploy, restart, downAct on the active deployment
deploy, templatesDeploy templates
addAdd a database, repo, image or empty service
importImport from Railway, Docker Compose or Heroku
logsDeploy, build and HTTP logs
variablesList, set and delete variables
run, shellRun local commands with the service's variables
sshShell inside a running replica
connectDatabase clients through a tunnel
domain, tcp-proxyPublic endpoints
environment, serviceSwitch and change environments and services
scale, volume, cronReplicas, volumes and cron runs
metrics, usageResource use
configExport settings to a file
host, upgradeAdmin: hosts and upgrades
alias, completion, versionThe CLI itself

Next steps

View as Markdown · Edit this page