npx secondbrain-connect needs Node.js 18 or newer. Node ships with npm and npx, so installing Node is all you need.
Already have it? Open a terminal and run
node -v. If it printsv18.xor higher, you're done - go connect.
- Windows: press
Win, type PowerShell, hit Enter. (Or Windows Terminal / Command Prompt.) - macOS: press
Cmd + Space, type Terminal, hit Enter. - Linux:
Ctrl + Alt + T, or open your Terminal app.
- Open https://nodejs.org/en/download.
- Download the Windows Installer (.msi) - choose the LTS version.
- Run it. Click Next through the wizard; the defaults are correct. Keep "Add to PATH" checked.
- Close any open terminals, open a new PowerShell, and verify:
node -v npm -v npx -v
winget install OpenJS.NodeJS.LTSchoco install nodejs-lts- Open https://nodejs.org/en/download.
- Download the macOS Installer (.pkg) - choose the LTS version (works on Apple Silicon and Intel).
- Open the
.pkgand click through the installer. - Open Terminal and verify:
node -v npm -v npx -v
brew install nodeNo Homebrew yet? Install it from https://brew.sh, then run the command above.
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
# close and reopen your terminal (or: source ~/.bashrc), then:
nvm install --lts
node -vnvm project & latest install command: https://github.com/nvm-sh/nvm
Follow the distro instructions at https://github.com/nodesource/distributions (Debian/Ubuntu/RHEL/Fedora).
# Debian / Ubuntu
sudo apt update && sudo apt install -y nodejs npm
# Fedora
sudo dnf install -y nodejs
# Arch
sudo pacman -S nodejs npmIf node -v shows something below v18, use nvm or NodeSource instead.
node -v # v18.0.0 or higher
npm -v
npx -vAll three printing a version = you're ready. Next: Step 2 - Connect.
npxis not a separate install. It comes withnpm, which comes with Node.js.- Restart your terminal after installing - a terminal opened before the install won't see the new
PATH. - Corporate proxy / offline machine?
npmhonorsHTTP_PROXY/HTTPS_PROXYenv vars. Ifnpxcan't download, set those, or install via your IT-approved package mirror.