Update node to version 6.9.5
This commit is contained in:
parent
e2d58c1870
commit
4d068d32b0
@ -40,10 +40,10 @@ sudo -u ubuntu git config --global user.email e2etest@cloudron.io
|
||||
|
||||
# install node LTS
|
||||
apt-get install -y python-software-properties python g++ make
|
||||
mkdir -p /usr/local/node-4.2.2
|
||||
curl -sL https://nodejs.org/dist/v4.2.2/node-v4.2.2-linux-x64.tar.gz | tar zxvf - --strip-components=1 -C /usr/local/node-4.2.2
|
||||
ln -sf /usr/local/node-4.2.2/bin/node /usr/bin/node
|
||||
ln -sf /usr/local/node-4.2.2/bin/npm /usr/bin/npm
|
||||
mkdir -p /usr/local/node-6.9.5
|
||||
curl -sL https://nodejs.org/dist/v6.9.5/node-v6.9.5-linux-x64.tar.gz | tar zxvf - --strip-components=1 -C /usr/local/node-6.9.5
|
||||
ln -sf /usr/local/node-6.9.5/bin/node /usr/bin/node
|
||||
ln -sf /usr/local/node-6.9.5/bin/npm /usr/bin/npm
|
||||
npm config set prefix /usr/local
|
||||
|
||||
# copy ssh certs
|
||||
|
Loading…
Reference in New Issue
Block a user