![]() ![]() Let’s say you want to install Node.js version 18. You need to specify which major version of Node.js you want to install. The output should be like this: Node.js and NPM installed versions Once installed, you verify it by checking the installed version of Node.js and npm with this command: node -version I recommend installing npm as well because you’re going to need it anyway. So all you need to do is to open a terminal and use the following command: sudo apt install nodejs npm Method 1: Install Node.js and npm on Ubuntu using the official repositoryĪs I said earlier, Node.js is available on Ubuntu. This tutorial will discuss all three methods of installing Node and npm.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |