2Node.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.

circle-info

INFORMATION: With this guide you are installing the mission node.js and npm.

Windows

  1. Download arrow-up-rightNode.js from official site (Windows version).

  2. You may restart your PC before being recognized.

  3. Try to run node -help in cmd.


Linux

  1. Debian/Ubuntu

sudo apt install nodejs npm
  1. CentOS/RHEL-based distributions:

sudo yum install nodejs npm
  1. Fedora:

sudo dnf install nodejs npm
  1. other

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 arrow-up-rightNode.js from official site (MacOS version).

  • You may restart your Mac before being recognized.

  • Try to run node -help in terminal.

Homebrew:

Last updated