mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Install npm.
This commit is contained in:
parent
8250cbcf6e
commit
345e2357c8
1 changed files with 3 additions and 3 deletions
|
|
@ -22,11 +22,11 @@ do
|
||||||
if [[ "$OSTYPE" == "linux-gnu" ]]; then
|
if [[ "$OSTYPE" == "linux-gnu" ]]; then
|
||||||
echo "Linux";
|
echo "Linux";
|
||||||
# Debian, Ubuntu, Mint
|
# Debian, Ubuntu, Mint
|
||||||
sudo apt-get install -y build-essential gcc g++ make git curl wget
|
sudo apt-get install -y build-essential gcc g++ make git curl wget npm
|
||||||
# npm nodejs
|
# npm nodejs
|
||||||
#sudo npm -g install npm
|
#sudo npm -g install npm
|
||||||
curl -0 -L https://npmjs.org/install.sh | sudo sh
|
#curl -0 -L https://npmjs.org/install.sh | sudo sh
|
||||||
sudo chown -R $(id -u):$(id -g) $HOME/.npm
|
#sudo chown -R $(id -u):$(id -g) $HOME/.npm
|
||||||
sudo npm -g install n
|
sudo npm -g install n
|
||||||
sudo n 12.19.0
|
sudo n 12.19.0
|
||||||
#curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
|
#curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue