NODEJS
Node.js is an open source
javascript-based framework/platform runs on top of Google chrome's V8
JavaScript engine. It's cross-platform. It’s written in C++ and is used in
Google’s Chrome browser. It uses an event-driven, non-blocking I/O model. Here
the two methods are provided for installing Node.js in Ubuntu
PREREQUISITE
INSTALLATION PROCEDURE
Follow the below steps to install NodeJS and NPM on your
CentOS machine.
Make sure to replace 8.x with the correct version
curl -sL https://rpm.nodesource.com/setup_8.x | sudo bash -
Install the NodeJS package by typing
sudo yum install nodejs
You may also need development tools to build native addons:
sudo yum install -y gcc-c++ make
Check the node installed version by typing
node -v
And also check the npm version by
npm -v
Comments
Post a Comment