NodeSource maintains an APT repository containing multiple Node.js versions. If you want to install a different Node.js version than the one provided in the Ubuntu repositories, you can use this method. Currently, NodeSource supports Node.js v14, v13, v12, and v10. When you are finished, run the command below to verify the installation: nodejs -version Install Node.js and Npm from NodeSource In this way, you will install a number of packages, including the tools necessary to compile and install native addons from Npm. Use the following command to update the package index and install Node.js and N pm: sudo apt update sudo apt install nodejs npm So, you can expect a straightforward installation. This is the first and the easiest way to install Node.js and Npm on Ubuntu 21.04. Install Node.js and Npm from Ubuntu Repositories _ To seup, follow our Initial server setup on Ubuntu 21.04. To let this tutorial work better, please consider the below Prerequisites: Recommended Article: Tutorial Setup And Configure Nessus On Ubuntu 20.10 Prerequisites to Install Node.js and Npm on Ubuntu 21.04
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |