18 lines
471 B
Bash
18 lines
471 B
Bash
# install basics
|
|
|
|
apt update -y
|
|
apt install sudo neovim zsh git tmux -y
|
|
|
|
# install node
|
|
|
|
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
|
|
apt update -y
|
|
apt install nodejs -y
|
|
node --version
|
|
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
|
|
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
|
|
sudo apt update && sudo apt install yarn
|
|
|
|
# install pm2
|
|
|
|
yarn global add pm2 --prefix /usr/local
|