Skip to content

Instantly share code, notes, and snippets.

@rafael-neri
Last active April 10, 2021 09:32
Show Gist options
  • Save rafael-neri/f24e328a123e2585bbabce135a787952 to your computer and use it in GitHub Desktop.
Save rafael-neri/f24e328a123e2585bbabce135a787952 to your computer and use it in GitHub Desktop.
Install Ionic Using Yarn on Ubuntu
# Install Node
sudo apt-get install nodejs
# Link command node
sudo ln -s /usr/bin/nodejs /usr/bin/node
# Install CURL
sudo apt-get install curl
# Add Key and Repository
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
# Update index and install Yarn
sudo apt-get update
sudo apt-get install yarn
# Install Cordova
sudo yarn global add cordova
# Install Ionic Using Yarn
sudo yarn global add ionic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment