Login

How to deploy SvelteKit to a VPS

Deploying SvelteKit usually means Vercel, Netlify, or Cloudflare. But if you want to run it on your own server, for cost, control, or data sovereignty, here's how.

The manual way

SSH into your server. Clone your repo. Run npm install and npm run build. Set up Node or Deno to serve the output. Configure Nginx or Caddy for HTTPS. Set up a systemd service so it restarts on crash. Configure a firewall. Set up SSL certificates with Let's Encrypt. Repeat every time you push.

With Risved

Install Risved on your VPS. Connect your repo. Push to main. Risved detects SvelteKit, builds it in Docker, configures HTTPS with Caddy, and gives you a live URL. Every push after that auto-deploys.

curl -fsSL https://risved.org/install | sh

Risved detects SvelteKit from your svelte.config.js, builds with npm run build, and serves the output. Custom domains, environment variables, and rollback included.

Ready to try Risved?

Self-hosted

Free forever. Install on any VPS in one command. You own the server, you run the updates & backups.


How to install

Cloud

Same software, we handle the server. Provisioned in Europe in two minutes. Automatic updates, backups & monitoring.


Deploy from €9/month