Node.js

Pllan requires Node 22.16 or newer. Node 24 is the default and recommended runtime for installs, CI, and release workflows. Node 22 remains supported via the active LTS line. The installer script will detect and install Node automatically — this page is for when you want to set up Node yourself and make sure everything is wired up correctly (versions, PATH, global installs).

Check your version

node -v
If this prints v24.x.x or higher, you’re on the recommended default. If it prints v22.16.x or higher, you’re on the supported Node 22 LTS path, but we still recommend upgrading to Node 24 when convenient. If Node isn’t installed or the version is too old, pick an install method below.

Install Node

Homebrew (recommended):
brew install node
Or download the macOS installer from nodejs.org.
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:
fnm install 24
fnm use 24
Make sure your version manager is initialized in your shell startup file (~/.zshrc or ~/.bashrc). If it isn’t, pllan may not be found in new terminal sessions because the PATH won’t include Node’s bin directory.

Troubleshooting

pllan: command not found

This almost always means npm’s global bin directory isn’t on your PATH.
1

Find your global npm prefix

npm prefix -g
2

Check if it's on your PATH

echo "$PATH"
Look for <npm-prefix>/bin (macOS/Linux) or <npm-prefix> (Windows) in the output.
3

Add it to your shell startup file

Add to ~/.zshrc or ~/.bashrc:
export PATH="$(npm prefix -g)/bin:$PATH"
Then open a new terminal (or run rehash in zsh / hash -r in bash).

Permission errors on npm install -g (Linux)

If you see EACCES errors, switch npm’s global prefix to a user-writable directory:
mkdir -p "$HOME/.npm-global"
npm config set prefix "$HOME/.npm-global"
export PATH="$HOME/.npm-global/bin:$PATH"
Add the export PATH=... line to your ~/.bashrc or ~/.zshrc to make it permanent.