
Finishing the prompt should install Node.js with PATH added to the environment variables. msi file and follow the prompt step by step. To verify if nodejs path has been added to PATH environment variable, run the following command : ~$ echo $PATHįor Windows OS, the value echoed back should have /usr/local/nodejs/bin.įor installing Node.js on Windows Operating System, double click on the. Once after adding the line, close the terminal and reopen again. $ export PATH=$PATH:/usr/local/nodejs/bin bashrc, open a terminal and run the following command : ~$ sudo nano ~/.bashrcĪdd the following line at the end of. bashrc file and append the nodejs’ path at the end. To edit. ~$ sudo mv node-v8.4.0-linux-圆4/* /usr/local/nodejs/Īdd the path /usr/local/nodejs/bin to PATH environment variable. Move the extracted nodejs package to /usr/local/nodejs/. Replace the file name, if it is different from what you have downloaded.

Unzip the compressed package ~$ tar xvfz node-v8.4.0-linux-圆4.tar.gz

Go to the downloaded folder, Open a Terminal from there and execute the following commands. Once the download is complete, extract the package and include it in the system path variable. OSįor linux kernel based OS like Ubuntu/MacOS/SunOS The size would be less than 20MB.įollowing are the latest packages available at the time of writing this tutorials (for 圆4). Based on the Operating System and Architecture, download a suitable package.

Node.js MySQL - Connect to MySQL Database.
