added installation script
This commit is contained in:
parent
a4866f1799
commit
8855dd33e0
1 changed files with 17 additions and 0 deletions
17
install.sh
Normal file
17
install.sh
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
#!/bin/bash
|
||||||
|
# nvm
|
||||||
|
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
|
||||||
|
|
||||||
|
# neovim
|
||||||
|
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux64.tar.gz
|
||||||
|
sudo rm -rf /opt/nvim
|
||||||
|
sudo tar -C /opt -xzf nvim-linux64.tar.gz
|
||||||
|
|
||||||
|
# go
|
||||||
|
if [ -z "$GO_VERSION" ] then
|
||||||
|
GO_VERSION = "1.22.0"
|
||||||
|
fi
|
||||||
|
|
||||||
|
curl -LO https://go.dev/dl/go$GO_VERSION.linux-amd64.tar.gz
|
||||||
|
rm -rf /usr/local/go && tar -C /usr/local -xzf go$GO_VERSION.linux-amd64.tar.gz
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue