NodeJS command line does not recognise 'install'

36 views Asked by At

screenshot of nodeJs command line

My node.js command line says 'install' is not recognised as an internal/external command when I try to update it, according to the installation instructions from a third party website.

Do I need to worry about updating node.js? I am about to embark on an exercise and want to ensure the programme is running correctly.

Thanks in advance.

1

There are 1 answers

0
xan_z On

If you are trying to install a package from npm then you need to use

npm install <package> [options] . 

and not node install.