Pick your OS, copy one line, run it. Node 20+ is handled for you. Nothing phones home.
One line. Detects your shell, installs Node 20 via nvm if missing, then Foreman.
$ curl -fsSL https://raw.githubusercontent.com/tuzlu07x/foreman-agent/main/install.sh | bash
Optional environment variables — most people never touch these.
| FOREMAN_VERSION=0.1.0 | Pin the install to a specific release. |
| FOREMAN_INSTALL_PREFIX | Use a custom global npm prefix. |
| FOREMAN_SKIP_NVM=1 | Refuse the nvm bootstrap; use your own Node. |
Removes the global package. Your config & audit log in ~/.foreman/ are left untouched.
$ curl -fsSL .../install.sh | bash -s -- --uninstall
$ foreman --version foreman/0.1.0 node-v20.11.0 $ foreman doctor # diagnose Node, paths, db, FTS5, policy, agents… ✓ node 20.11.0 ✓ ~/.foreman writable ✓ sqlite + FTS5 ✓ policy.yaml ok ✓ ed25519 identity ✓ 0 agents registered