Deploy to your own server
You'll need: Node 20+, git, and SSH access. Works on any Linux distro.
One-line install
Paste this on your VPS shell:
curl -fsSL https://hatch.adityaarsharma.com/install.sh | bash
The script:
- Clones
https://github.com/adityaarsharma/hatch - Runs
npm install - Runs
npm run build - Tells you where the build output lives โ your panel handles the rest
Custom directory
curl -fsSL https://hatch.adityaarsharma.com/install.sh | bash -s -- --dir /home/yourapp
What it does NOT do
Deliberately minimal. The installer stops at "code is built." Your panel handles everything past that:
- Installing Node
- Your web server config
- Keeping the process alive (PM2 / systemd / panel-managed)
- Domain binding
After install
- Create
astro-starter/.envwith your 4 WP credentials (from WP admin โ Tools โ Hatch โ Connector tab) - Point your webapp at
<install-dir>/astro-starter/dist/ - Or run as Node:
node <install-dir>/astro-starter/dist/server/entry.mjs
Full RunCloud guide: vps-runcloud.md