Monday, October 19, 2015

Installing NodeJS in CentOS

It is fast and quick, just only two steps

1. Get the setup

curl --silent --location https://rpm.nodesource.com/setup_4.x | bash -

Note

--location

If the server reports that the requested page has moved to a different location this option will make curl redo the request on the new place.

--silent

Makes curl mute (silent mode). Don't show progress meter or error messages but it will still output the requested data

2. Install nodeJS

yum -y install nodejs

 

image

No comments:

Post a Comment