Skip to content

Instantly share code, notes, and snippets.

@jabez007
Last active April 30, 2019 12:48
Show Gist options
  • Save jabez007/813aaa54e4a8f577aa7497a7fdd8efef to your computer and use it in GitHub Desktop.
Save jabez007/813aaa54e4a8f577aa7497a7fdd8efef to your computer and use it in GitHub Desktop.
Install Vue CLI on fresh Ubuntu
#!/bin/bash
# # # #
# run as su
# $ sudo wget -O - https://gist.githubusercontent.com/jabez007/813aaa54e4a8f577aa7497a7fdd8efef/raw/b2f64c585ea4ea6936f68491459457fc10e997ec/install.sh | bash
# # # #
# make sure we have curl to start with
sudo apt-get install -y curl
# # # #
# from NodeSource
# https://github.com/nodesource/distributions/blob/master/README.md
# Node.js v12.x and npm:
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install -y nodejs
# need development tools to build native addons:
sudo apt-get install gcc g++ make
# # # #
# # # #
# from Vue
# https://cli.vuejs.org/guide/installation.html
sudo npm install -g @vue/cli
# # # #
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment