initial commit
This commit is contained in:
commit
bcd52055e7
7 changed files with 117 additions and 0 deletions
18
install-basics.sh
Normal file
18
install-basics.sh
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue