Download and install Node.js from https://nodejs.org
Verify installation with `node -v`
Verify npm installation with `npm -v`
On macOS, you can also install via Homebrew with `brew install node`
On Ubuntu/Debian, run `sudo apt update`
On Ubuntu/Debian, run `sudo apt install nodejs npm`
On Fedora, run `sudo dnf install nodejs npm`
On Windows, use the Node.js installer from the official website
On Windows, reopen the terminal after installation
Update npm with `npm install -g npm`
Check the global npm path with `npm config get prefix`
