To install a package and save it in your project's package. To install a package: npm install # Install locally Nvm alias default node # set the installed stable version as the default Node Nvm ls-remote # list all the Node versions you can install Nvm use node # use stable as current version Navigate to your home directory cd Create a. Nvm install node # install most recent Node stable version Then download Node and select your version by running: source ~/.bashrc # source your bashrc/zshrc to add nvm to PATH command -v nvm # check the nvm use message It was not a very old project and on my M1 mac I already had installed node v16 which is the LTS version starting from Oct. Installation Using Homebrew brew install nodeÄownload and install nvm by running: curl -o- | bash Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine.
0 Comments
Leave a Reply. |