Skip to content

Instantly share code, notes, and snippets.

@l3laze
Created May 3, 2021 23:27
Show Gist options
  • Save l3laze/10dab410a27110da4d8a3c7b88f12902 to your computer and use it in GitHub Desktop.
Save l3laze/10dab410a27110da4d8a3c7b88f12902 to your computer and use it in GitHub Desktop.
UserLAnd setup for mobile dev environment
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