Prerequisite

Installing NodeJS on Linux, Mac and Windows

Setup Environment

This section describes the hardware and software needed for this workshop, and how to configure them. This workshop is designed for a BYOL (Bring Your Own Laptop) style hands-on-lab.

Hardware & Software

  • Memory: At least 4 GB+, strongly preferred 8 GB
  • Operating System: Mac OS X (10.10.3+), Windows 10 Pro+ 64-bit, Ubuntu 12+, CentOS 7+.

Install Docker

Docker runs natively on Mac, Windows and Linux. This lab will use Docker Community Edition (CE). Download the Docker CE edition for your machine from the Docker Store.

NOTE: Docker CE requires a fairly recent operating system version. If your machine does not meet the requirements, then you need to install Docker Toolbox.

This workshop is tested with Docker Community Edition 19.03.13-ce-rc10, build fec3683 on Ubuntu 20.04.1 LTS.

Other Software

The softwares in this section are specific to certain parts of the workshop. Install them only if you plan to attempt them.

S.No. Name of Software Link to Follow
1 Git Link
2 Node JS Link
3 Visual Studio Code Link
4 Webstorm Link
5 Sublime Text 3 Link

Download NodeJS

You can download the latest version of Node JS from the below links:

Install NodeJS

Select the tab for your computer’s operating system below, then follow its installation instructions.

    1. Open the terminal check if Node JS is already installed by using the following command.
node --version
    1. Install NodeJS using apt-get
sudo apt-get install nodejs
    1. Verify that you’ve installed NodeJS by opening a command prompt and typing the following command:

$ node --version

  1. Confirm that the command prints the installed version of Node JS.

    1. Open the terminal check if Node JS is already installed by using the following command.
node --version
    1. Go to NodeJS’s official downlaod page and click on download.
    1. Once the pkg file is downloaded open it and follow the installation steps
    1. On completetion open terminal to verify if the installation is successful using the following command
node --version

    1. Download the latest version of Node JS from here
    1. Click on Install Now
    1. In the Command Prompt window that appears, type the following command:

$ node --version

    1. Confirm that the command prints the installed version of Node JS.


Last modified 10.10.242410: Update config.toml (2e6675a)