Core Installation
4. Node.js
Install Node.js via nvm with the LTS version. Required for development tools and MCP servers.
1 min read
Node.js is required to run MCP servers and plugins via npx — most community MCPs use this mechanism.
Install nvm (Node Version Manager)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bashReload the shell
source ~/.bashrcInstall Node.js LTS
nvm install --ltsActivate LTS version
nvm use --ltsCheck Node
node --version # v22.x+Check npm
npm --version # 10.x+Check npx
npx --version # 10.x+Why nvm instead of apt install nodejs?
- The Node from
aptis usually very outdated nvmlets you switch versions easily- Avoids permission issues with
sudo npm install -g