![]() If you do ls -ltr in the above directory you will that it has been linked to that programs These include linking and exporting it in your. In order to be able to run node from anywhere from your terminal, you need to add it to your path. usr/local/lib/nodejs Step 4: Add to Path Make a folder to extract all the files to and then copy them there sudo mkdir -p /usr/local/lib/nodejs sudo cp -r. Tar xv node_.xxx.gz Step 3: Copy to local library You can use wget/curl or do a manual download Step 2: ExtractionĮxtract using any archiving tool, you can also use tar via Hence to install the latest version, you would have to go to their official website and download the latest tar file and then follow along Step 1:Download Latest version However as I said this will install a version 12.x which is not what we need. ![]() ![]() To install the default version you can simply do sudo apt-get install nodejs So how do you install the latest version on your system. By default most Linux systems are shipped with Nodejs but it is usually an old LTS (Long-Term Support) Nodejs is awesome and it is requirement if you want to be a JavaScript Developer.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |