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:

  1. Clones https://github.com/adityaarsharma/hatch
  2. Runs npm install
  3. Runs npm run build
  4. 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:

After install

  1. Create astro-starter/.env with your 4 WP credentials (from WP admin โ†’ Tools โ†’ Hatch โ†’ Connector tab)
  2. Point your webapp at <install-dir>/astro-starter/dist/
  3. Or run as Node: node <install-dir>/astro-starter/dist/server/entry.mjs

Full RunCloud guide: vps-runcloud.md