0% found this document useful (0 votes)
0 views

Installation Guide

This document provides installation instructions for Node.js, Postman, MongoDB, and Visual Studio Code on Ubuntu and Windows. It details the steps for installing Node.js from both the official Ubuntu repository and the NodeSource repository, as well as the installation process for Postman and MongoDB. Additionally, it includes commands for verifying installations and starting services where applicable.

Uploaded by

Jhenkar Cm0316
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
0 views

Installation Guide

This document provides installation instructions for Node.js, Postman, MongoDB, and Visual Studio Code on Ubuntu and Windows. It details the steps for installing Node.js from both the official Ubuntu repository and the NodeSource repository, as well as the installation process for Postman and MongoDB. Additionally, it includes commands for verifying installations and starting services where applicable.

Uploaded by

Jhenkar Cm0316
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

1.

Installing NodeJS
Ubuntu

Install Node.js using Ubuntu official repository:​ Node.js is available in Ubuntu’s

repository and you can easily install it using a few commands. Follow the steps below

to install Node.js on your Ubuntu operating system.

● Step 1:​ Open your terminal or press Ctrl + Alt + T.


● Step 2:​ To install node.js use the following command:
sudo apt install nodejs

● Step 3:​ Once installed, verify it by checking the installed version using the
following command:

node -v​ or n
​ ode –version
Note:​ It is recommended to install Node Package Manager(NPM) with Node.js. NPM is

an open source library of Node.js packages.

To install NPM, use the following commands:

sudo apt install npm

npm -v​ or ​npm –version

Node and NPM will be successfully installed on your Ubuntu machine.

Install Node.js using NodeSouce repository:​ The latest version of Node.js can be

installed from N
​ odeSource repository​. Follow the steps below to install the Node.js on

your Ubuntu.
● Step 1:​ Open your terminal or press Ctrl + Alt + T and use the following
commands to update and upgrade the package manager:

sudo apt-get update


sudo apt-get upgrade

● Step 2:​ Install Python software libraries using the following command:

sudo apt-get install python-software-properties

● Step 3:​ Add Node.js PPA to the system.

curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash –


Note: ​Here, we are installing node.js version 10, if you want to install version
11, you can replace setup_10.x with setup_11.x.

● Step 4: T
​ o Install Node.js and NPM to your Ubuntu machine, use the
command given below:

sudo apt-get install nodejs

● Step 5: O
​ nce installed, verify it by checking the installed version using the
following command:
node -v​ or n
​ ode –version
● npm -v​ or n
​ pm –version

Finally, you have successfully installed Node.js and NPM on your Ubuntu machine.

2. Windows:
https://nodejs.org/en/download/
Postman Installation
1. Linux:
https://snapcraft.io/postman
sudo snap install postman
You will need to install snap first, and you will be able to install most of the softwares
quickly on linux.
Don't worry you will be prompted if it's not installed,
2. Windows:
https://www.postman.com/downloads/

Installing MongoDB:
1. ​You need to first uninstall the mongodb, you can use:
sudo apt-get purge mongodb-org*
After this, install mongodb through the following commands:

sudo apt-get install mongodb

Continue by ‘Y’

And then update:

sudo apt-get update

You are done with the installation of mongodb. You can check it by using the below
command:
mongo --version

Finally type
sudo service mongodb start
Windows:

https://docs.mongodb.com/manual/tutorial/i
nstall-mongodb-enterprise-on-windows/

Visual Studio Code:


sudo snap install code --classic

You might also like