NextDeploy is an open-source CLI + daemon for deploying and managing Next.js applications on your own infrastructure. No lock-in. No magic. Just Docker, SSH, and full control.
- 🧱 Builds Docker images optimized for Next.js
- 🚀 Ships to any VPS (Hetzner, DigitalOcean, AWS, bare metal) via SSH
- 🔐 Injects secrets securely with Doppler
- 📊 Streams logs & metrics from running containers
- 🧪 Runimage: test production builds locally with real secrets
- 🛠️ Daemon support: health checks, logs, and automation on servers
One tool. One config. Full transparency.
Choose your platform:
Linux
curl -fsSL https://nextdeploy.one/linux-cli.sh | sh
macOS
curl -fsSL https://nextdeploy.one/mac-cli.sh | sh
Windows (PowerShell, Run as Admin)
iwr -useb https://nextdeploy.one/windows.ps1 | iex
Daemon (Linux/Mac)
curl -fsSL https://nextdeploy.one/nextdeployd.sh | sh
curl -fsSL https://nextdeploy.one/install.sh | sh # latest stable
curl -fsSL https://nextdeploy.one/install/v0.1.0.sh | sh # pinned version
nextdeploy init # Scaffold Dockerfile + nextdeploy.yml
nextdeploy build # Build production Docker image
nextdeploy runimage # Run locally with Doppler secrets
nextdeploy provision # Prepare a fresh VPS
nextdeploy ship # Deploy to your server
nextdeploy serve # Serve app online
Test with production config before shipping:
nextdeploy runimage --prod
NextDeploy is Doppler-first — no more .env
files:
- Secrets injected at deploy/runtime
- Fully encrypted + scoped (dev/staging/prod)
- Update → restart → done
- Works the same locally and in CI
Other platforms abstract until you lose control. NextDeploy flips that. You own the pipeline. You see every step.
No black boxes. No middleware. Just you and your server.
- Deploy Next.js or full-stack apps to VPS/bare metal
- Want transparent, auditable DevOps
- Need strong security practices without complexity
- Care about simplicity over vendor lock-in
- ✅ Docker builds & SSH deploy
- ✅ Doppler integration
- ✅ Logs + metrics
- ✅
runimage
for local testing - 🔄 CI/CD via GitHub webhooks
- ⏪ Rollbacks & release tracking
- 🔌 Stack plugins (Rails, Go, Bun, Astro…)
- 🌐 Dashboard & multitenant support
- Website → nextdeploy.one
- GitHub → github.com/aynaash/nextdeploy/cli
- Twitter/X → @nextdeploy
We welcome contributors:
- Systems engineers (daemon/logging)
- Security reviewers
- Product-minded devs