Im trying to host a web app on firebase, free code camp does talk about this in an article:
I seem to be on step 4 where the command ‘npm install firebase’ is to be put into the terminal, but the terminal keeps giving an error message, that the term ‘npm’ is not recognized…
Looks like the path to your npm installation is missing in the system environment. Try this:
Find the path where node.js is installed on your computer, copy it.
Search your system for environment variables → click on “environment variables” and on “Path” in the following menu → add the path of node.js to the list.
Now restart the terminal and you should be able to use node/npm.
I don’t see anything about using chocolatey. Do you have that installed?
It is a package manager for Windows and you do not need it and it isn’t a replacement for npm. Just use the normal Node installer and follow the article.
If you can do node -v it should already be in the environment path. The same should work for npm npm -v unless you did something odd with the installation.
Maybe, uninstall Node and reinstall it. Try using the .msi installer and make sure you do not uncheck any settings about environment variables.