![]() Check the installed versionsĪs the process of installing Node and NPM is completed, we can use the terminal to check their versions, this will also confirm they are working on our system without any issues. Hence, follow the given command and run it in your terminal. Install Nodejs and NPM for Amazon Linux 2Īfter adding the repository, we can install the Nodejs and along with that NPM will also get installed automatically on our Amazon Linux. curl -fsSL | sudo bash -Īgain run the system update command: sudo yum update 3. Therefore, here we are going for the Nodejs-16.19.1 version. ![]() We tried to install Node 18.x LTS but it gave a few dependencies errors which are not available to install such as libc.so.6(GLIBC_2.28)(64bit) using the base repository of Amazon Linux. Add Node.js 16.x LTS repositoryĪs we know Amazon Linux 2 is based on CentOS 7 and the LTS version of Node.js supported by it is 16.x. This will also refresh the YUM package manager cache built for various added repositories. Start with the system update command to install the available security and application package updates. The steps given here will be the same for CentOS 7 as well, so if you are using it then can install the Node and NPM using the commands given below: 1. Uninstallation Steps to install Nodejs and NPM on Amazon Linux 2
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |