Created
September 27, 2023 11:13
-
-
Save gmdias727/947b454d4aca18521a88c5f92a4a1a2d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# basic system update and cleanup | |
sudo apt update -y && sudo apt upgrade -y && sudo apt autoremove -y | |
sudo apt install git curl neovim -y | |
# install nvm steps | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash | |
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
node -v # should display node version | |
npm -v # should display npm version | |
### end | |
# alias neovim as vim | |
alias vim=nvim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment