Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

setup node and mongodb on centos 7 using npm

curl -sL https://rpm.nodesource.com/setup_10.x | bash -
curl -sL https://dl.yarnpkg.com/rpm/yarn.repo | tee /etc/yum.repos.d/yarn.repo
yum install -y nodejs yarn
npm i -g pm2 typescript
#pm2 startup
pm2 install typescript
Source by gist.github.com #
 
PREVIOUS NEXT
Tagged: #setup #node #mongodb #centos #npm
ADD COMMENT
Topic
Name
8+4 =