![]() ![]() const http = require('http') Ĭonst server = http. $ mkdir ~/projectsĬreate a new file called hello-world.js with the following content. $ node -versionĦ.10.3 Step 4: Test Node.js on Ubuntu/Debian/Linux MintĬreate an example Node.js web server which responds with ‘ Hello, World!‘. You can as well install development tools used to build native addons: sudo apt -y install gcc g++ makeĬonfirm Node.js 12 installation by checking the version installed. ![]() Running the following commands is all that’s needed for the installation. These are the node js Ubuntu installation commands: curl -fsSL sudo -E bash sudo apt-get install -y nodejs The first command (curl) must be copied, pasted, and executed in your terminal because the curl command line has already been installed there. Node.js repository has been added, The next step is the installation of Node.js 12 on Ubuntu / Debian / Linux Mint. ![]() | sudo -E bash - Step 3: Install Node.js 12 on Ubuntu / Debian / Linux Mint ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |