Last active
April 30, 2019 12:48
-
-
Save jabez007/813aaa54e4a8f577aa7497a7fdd8efef to your computer and use it in GitHub Desktop.
Install Vue CLI on fresh Ubuntu
This file contains hidden or 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
#!/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