Run from source
Install Node.js 24, npm and Git. The server runs TypeScript directly using Node’s type stripping. Build the web console before the first start.
Clone and build
git clone https://github.com/tader/switchboard.git
cd switchboard
npm ci
npm --prefix web ci
npm --prefix web run build
Start a local instance
These POSIX shell commands use an explicit data folder and bind only to loopback:
export SWITCHBOARD_HOST=127.0.0.1
export SWITCHBOARD_PORT=8770
export SWITCHBOARD_PUBLIC_URL=http://127.0.0.1:8770
export SWITCHBOARD_DATA_DIR="$HOME/.local/share/switchboard"
npm start
In PowerShell, set the same variables using $env:SWITCHBOARD_HOST = '127.0.0.1' and the equivalent assignments, choosing a persistent local data folder.
Keep the terminal open while using the server. On first start it prints a one-time setup link, valid for 24 hours. Open it, create an administrator username and password, then open http://127.0.0.1:8770. You should see Connections. Do not publish the setup link or logs containing it.
Verify and maintain
A successful start prints Switchboard listening and serves the built console. Stop with Ctrl+C. Restart prints a new setup link when no administrator can sign in. If the console is missing, repeat the web dependency install and build. If Node cannot run .ts files or node:sqlite, check node --version and use Node 24.
Back up the entire data folder, including the database and encryption key. A source process is not automatically supervised; use your operating system’s service manager for unattended operation. Review the configuration reference before exposing a server beyond loopback.