![]() To get the nvm installation script from their Github page, use either wget command below: wget -qO- | bash To ensure everything was installed correctly, check for the version of Node.js currently installed on your machine: node -version Before running the tutorial below, it’s important to make sure your system is up to date by running the following apt commands in the terminal:Īfter adding the repository run the following command to install Node.js and npm: sudo apt install nodejs We recommend acting as a non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root. ![]() A non-root sudo useror access to the root user.It’s recommended that you use a fresh OS install to prevent any potential issues.A server running one of the following operating systems: Debian 10 (Buster).I will show you through the step-by-step installation of Node.js on a Debian 10 (Buster). The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘ sudo‘ to the commands to get root privileges. This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. Npm is the default package manager for Node.js that helps developers to share and reuse their code. And it’s open-sourced and constantly being updated by both enterprise and open-source developers. Using Node.js, you can build anything from a simple command-line tool to dynamic HTTP servers and APIs. For those of you who didn’t know, Node.js is a widely-used program that lets you use your JavaScript skills outside the confines of the browser. In this tutorial, we will show you how to install Node.js on Debian 10.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |