Skip to content

NextDeployZero-Downtime Next.js Deployments

Deploy Next.js apps to a $4 VPS, AWS Lambda, or Cloudflare Workers from one config file and one command. Open source, self-hosted, no vendor lock-in.

NextDeploy Logo

Quick Install ​

bash
curl -fsSL https://hersi.dev/nextdeploy/install.sh | bash
# Mirror:
# curl -fsSL https://nextdeploy.org/install.sh | bash
powershell
# Download and execute install.bat
irm https://hersi.dev/nextdeploy/install.bat | iex
bash
git clone https://github.com/aynaash/NextDeploy.git
cd NextDeploy
go build -o nextdeploy ./cli

Deploy in 4 Simple Steps ​

bash
# 1. Initialize configuration in your Next.js project
nextdeploy init

# 2. Dry-run preflight check (changes nothing)
nextdeploy plan

# 3. Build, push, and cutover with zero downtime
nextdeploy ship

# 4. Stream real-time production logs
nextdeploy logs -f

Demo ​

nextdeploy ship demo

Supported Targets ​

TargetStatusEngineKey Capabilities
VPS (Self-Hosted)StableCaddy + nextdeployd + SystemdAtomic POSIX cutover, cgroup v2 limits, Cumulative chunk pooling, Go sidecar
Cloudflare WorkersBetanextcompile + R2 + KVSingle-bundle compilation, Server Actions, SSR, R2 static assets, D1/Queues/Hyperdrive
AWS ServerlessStableLambda + S3 + CloudFrontAutomated ACM certificates, S3 static assets, CloudFront distribution, SQS integration

Join the Community

Questions, bug reports, or feature requests? Join developers building with NextDeploy on Discord.

Released under the MIT License.