Skip to main content

Node.js

Fased recommends Node 24 and supports Node 22.14 or newer with the built-in node:sqlite module. The installer script can install Node automatically on common VPS and workstation families: Ubuntu, Debian, Kali, Fedora, CentOS, AlmaLinux, Rocky Linux, CloudLinux, Oracle Linux, Amazon Linux, openSUSE, SLES, Alpine, Arch, FreeBSD, WSL2 Ubuntu, and macOS with Homebrew. Use this page when you want to set up Node yourself or debug PATH/runtime issues.

Check your version

If this prints v24.x or v22.14.x or higher and node:sqlite ok, you are set. If Node is missing, too old, or missing node:sqlite, pick an install method below. Some custom/version-manager Node builds can report a new version but still omit node:sqlite; those are not suitable for full memory support.

Install Node

Homebrew (recommended). If Homebrew already exists, ./install.sh can use it automatically.
Or download the macOS installer from nodejs.org.
If Node 24 packages are unavailable for your OS, use Node 22.14 or newer with node:sqlite, install Node 24 from your preferred trusted package source, or use a version manager.
Version managers let you switch between Node versions easily. Popular options:
  • fnm — fast, cross-platform
  • nvm — widely used on macOS/Linux
  • mise — polyglot (Node, Python, Ruby, etc.)
Example with fnm:
Make sure your version manager is initialized in your shell startup file (~/.zshrc or ~/.bashrc). If it is not, new terminal sessions may not find fased because PATH does not include Node’s bin directory.

Troubleshooting

fased: command not found

macOS and explicit source installs write a small repo-backed launcher to ${FASED_CLI_BIN_DIR:-$HOME/.local/bin}/fased. Supported Linux Local and VPS Hosting installs use the prebuilt runtime under ~/.fased/install-cache/npm-global/bin/fased. This error usually means the relevant bin directory is not on your PATH, or your shell has not reloaded its startup files yet.
1

Check for the launcher

2

Check if it's on your PATH

Look for $HOME/.local/bin in the output. If you used FASED_CLI_BIN_DIR, look for that directory instead.
3

Add it to your shell startup file

Add to ~/.zshrc or ~/.bashrc:
Then open a new terminal (or run rehash in zsh / hash -r in bash).

Advanced: npm global prefix problems

The public install path is the Fased curl installer. Hosted installs may use the published npm package internally under ~/.fased/install-cache/npm-global. If you are debugging a maintainer/package test and see EACCES errors from a manual npm global install, switch npm’s global prefix to a user-writable directory:
Add the export PATH=... line to your ~/.bashrc or ~/.zshrc to make it permanent.