Push to deploy direto do seu terminal
Um comando para ir do código local a uma URL ativa. Detecta seu stack automaticamente, cria um container, transmite logs em tempo real. Mais 30+ comandos para todo o resto.
sh0 push in action
Detecta seu stack automaticamente
sh0 push escaneia os arquivos do seu projeto e escolhe a imagem base, comando de build e runtime corretos. Sem Dockerfile necessário.
Dockerfiles customizados são sempre suportados. A detecção de stack é uma conveniência, não uma restrição.
Como funciona
Install
curl -fsSL https://get.sh0.dev | bash Single binary, no dependencies. Works on Ubuntu, Debian, CentOS, and any Linux with Docker.
Authenticate
sh0 login --url https://your-server.com Interactive login stores a session token. Or set SH0_API_URL + SH0_API_TOKEN for CI/CD.
Initialize
sh0 init Detects your stack, generates .sh0ignore. Optional but recommended for new projects.
Push
sh0 push Packages files, uploads, builds container, returns a live URL. One command, zero config.
Watch
sh0 watch Auto-pushes on every file change with 2-second debounce. Your dev loop, automated.
Gerenciamento inteligente de arquivos
Controle o que é enviado e acompanhe seus deploys automaticamente.
.sh0ignore
Same syntax as .gitignore. Falls back to .dockerignore, then .gitignore.
.sh0/link.json
Created after first push. Links your directory to the remote app.
Funciona em CI/CD
Defina duas variáveis de ambiente e sh0 push funciona em qualquer lugar -- GitHub Actions, GitLab CI ou qualquer runner.
GitHub Actions
Any CI runner
Referência de comandos
Um binário, 30+ comandos. Tudo o que você precisa para gerenciar seus deploys.
Deploy
App Lifecycle
Management
Infrastructure
Authentication & Admin
A typical session
All commands support --json for machine-readable output
Configuração
Arquivo de configuração para trabalho local, variáveis de ambiente para CI/CD.
~/.sh0/config.toml
Environment variables
Tudo o que você precisa
Push deploy
Deploy from any local directory. Auto-detects 19+ stacks, uploads files, builds, and returns a live URL. No Git required.
Watch mode
Run sh0 watch to auto-push on every file change. Configurable debounce, respects .sh0ignore. Your dev loop, automated.
30+ commands
Deploy, scale, restart, stop, start, delete, manage env vars, domains, stream logs, SSH into containers -- all from one binary.
JSON output
Every command supports --json for machine-readable output. Pipe to jq, feed into scripts, integrate with any CI/CD pipeline.
Export anywhere
Export app configuration to Docker Compose, Vercel, AWS, GCP, Kubernetes, Railway, or Render. No vendor lock-in.
Local health checks
Run sh0 check on any project to get a Code Health report (34 rules) before deploying. Catch issues early.
Config file or env vars
Store settings in ~/.sh0/config.toml or use SH0_API_URL and SH0_API_TOKEN environment variables for CI/CD.
O jeito antigo
- x Set up a Git repo and webhook
- x Write a Dockerfile from scratch
- x SSH into server, run docker commands
- x Configure reverse proxy manually
- x Different tools for each task
- x No unified view of your infrastructure
O jeito sh0
- sh0 push -- one command, zero config
- Auto-detects stack, no Dockerfile needed
- SSL and domains handled automatically
- Deploy, scale, and monitor in one flow
- JSON output for CI/CD integration
- Export to 7 platforms -- zero lock-in
Perguntas e respostas
What is sh0 push? +
What authentication methods does the CLI support? +
Can I use the CLI in CI/CD pipelines? +
What files does sh0 push exclude? +
What is sh0 export? +
Can I manage a remote sh0 instance from my local machine? +
Seu código, seu servidor, um comando.
Instale com um comando. Faça push para deploy. Monitore pelo terminal. Sem intermediários.