Node.js is not installed
If you are getting the error that Node.js is not installed make sure to install it as this little guide is showing.
Windows
Download Node.js from official site (Windows version).
You may restart your PC before being recognized.
Try to run
node -helpin cmd.
Linux
Debian/Ubuntu
sudo apt install nodejs npmCentOS/RHEL-based distributions:
sudo yum install nodejs npmFedora:
sudo dnf install nodejs npmother
wget -qO nodesource_setup.sh https://deb.nodesource.com/setup_22.x
sudo -E bash nodesource_setup.sh
sudo apt-get install -y nodejs npm MacOS
Installer:
Download Node.js from official site (MacOS version).
You may restart your Mac before being recognized.
Try to run
node -helpin terminal.
Homebrew:
Last updated