On this article we will use nodejs LTS version with version 14. List the nodejs version using the command below: # nvm ls-remote After we install nodejs using NVM, we can change the default nodejs version if we install multiple nodejs on the server.īelow is how to install nodejs using NVM: # apt install build-essential libssl-dev # curl -o- | bashĪfter the installation is completed, please allow NVM to run on bash profile user. We recommend you to use nodejs with NodeJs Version Manager (NVM). Nodejs allow us to install multiple nodejs version on the server. Install Node.js Using NVM (NodeJS Version Manager) If we use nodejs from PPA, npm automatically installed on your server. Run the command below to install nodejs v.12. If we want to use nodejs with latest version, we can use nodejs using PPA Repository that maintained by NodeSource. Install Node.js Using PPA (Personal Package Archive) Repository You can install it using command : #apt install npm # npm -v If you want to find some module or package of nodejs, we can use NPM (NodeJS Package Manager). Run the command below to find nodejs version: # nodejs -v Please ssh your server on Cloudraya and make sure you have created a security profile to allow accessing your server.Īfter you login into your server, run the command below: # apt update # apt install nodejs Use and install multiple nodejs using NVM (NodeJS Version Manager).Install nodejs using PPA (Personal Package Archive) repository.We will install using stable nodejs with command apt In this tutorial, we will learn how to install node.js using the ubuntu repository, PPA, or NVM.Īnd we will learn how to launch your simple app using node.js. Node.js is an open-source application under MIT License. Node.js is a server-side Javascript that makes dev can write the front-end and back-end of web applications in Javascript more easily and efficiently. But, let’s discuss about what Node.js is. The popularity of Node.js has increased recently, in which makes ‘how to install node.js’ as a hot topics around the internet.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |