Created
May 3, 2021 23:27
-
-
Save l3laze/10dab410a27110da4d8a3c7b88f12902 to your computer and use it in GitHub Desktop.
UserLAnd setup for mobile dev environment
This file contains 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
sudo apt-get update | |
sudo apt-get upgrade -y | |
sudo apt-get install -y curl rsync git libatomic1 | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/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 | |
command -v nvm | |
nvm install --lts | |
npm i -g npm | |
node --version | |
npm --version | |
nvm --version | |
git --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment