Smart Deploy
One command to initialize, connect Git, push env vars, and deploy. tose up handles everything automatically.
A powerful command-line tool for deploying applications to the TOSE platform. Built with TypeScript.
TOSE CLI (@tosesh/tose) is a command-line tool that simplifies application deployment and management on the TOSE platform.
# Install
npm install -g @tosesh/tose
# Login
tose login
# Deploy your project
cd my-app
tose uptose login # Save API key
tose logout # Remove credentials
tose whoami # Show user infotose init # Link directory to project
tose use [workspace/project] # Set active project globallytose up # Smart deploy (init + git + env + deploy)
tose deploy [project] # Trigger deployment
tose redeploy [project] # Redeploy without rebuild
tose down [project] # Stop deployment
tose restart [project] # Restart podstose status [project] # Project status and pod health
tose logs [project] --build -f # Stream build logs
tose logs [project] -f # Stream live logs
tose open [project] # Open URL in browsertose env list # List variables
tose env set KEY=VALUE [KEY=VALUE...] # Set variables
tose env rm KEY [KEY...] # Remove variables
tose env push [file] # Push .env file
tose env pull [file] # Pull to .env filetose domain list # List domains
tose domain add <domain> # Add custom domain
tose domain rm <domain> # Remove domain
tose db list # List databases
tose db create # Create database
tose db info <name> # Show connection infotose generate # Generate Dockerfile with AI--json # JSON output for scripting
-y, --yes # Skip confirmations
--api-key <key> # Override API key
--workspace <slug> # Override workspace
--project <slug> # Override project@tosesh/tose on npm