Linux (Ubuntu) Development + NPM Usage
Goals
- One command to bootstrap Linux dev
- npm install/build works without pnpm
- Avoid SEA on Linux by default (Node CLI path is more reliable)
Quickstart (Ubuntu 24.04)
What the bootstrap does
- Installs system deps:
curl,ca-certificates,xz-utils,python3,make,g++,git - Installs
libpam0g-devfor PAM auth native module - Installs Node.js 24.x (NodeSource) if missing or too old
- Installs Zig (latest stable)
SEA on Linux (disabled by default)
SEA builds are skipped on Linux unless explicitly enabled. Enable if you want to test SEA (not recommended on Linux):PAM Authentication (optional)
authenticate-pamis an optional dependency.- If
libpam0g-devis present during install, PAM auth will be built and used. - If it’s missing, VibeTunnel still runs; auth falls back to env/SSH methods.
npmjs (global install)
Troubleshooting
pnpmmissing during build: use npm (npm install && npm run build) or install pnpm.zigmissing: rerunweb/scripts/linux-bootstrap.sh.pam_appl.hmissing:sudo apt-get install -y libpam0g-dev.