Skip to content

Instantly share code, notes, and snippets.

@this-is-richard
Last active May 27, 2019 17:21
Show Gist options
  • Save this-is-richard/68570d71e85186eaed418ee398843779 to your computer and use it in GitHub Desktop.
Save this-is-richard/68570d71e85186eaed418ee398843779 to your computer and use it in GitHub Desktop.
sudo apt-get update
sudo apt install git
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
export NVM_DIR="${XDG_CONFIG_HOME/:-$HOME/.}nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
# open new terminal
nvm install --lts
nvm use --lts
mkdir Project
cd Project/
# After initting git
git config --local user.name "Your Name"
git config --local user.email "you@example.com"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment