From 8855dd33e0c7c5e159a001e085429ac30fc7387a Mon Sep 17 00:00:00 2001 From: bumpsoo Date: Mon, 19 Feb 2024 20:37:57 +0900 Subject: [PATCH] added installation script --- install.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 install.sh diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..83ec4a9 --- /dev/null +++ b/install.sh @@ -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 +