Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save meer-online/f816709bb2a3dc50efe6181a2ec6dd4d to your computer and use it in GitHub Desktop.

Select an option

Save meer-online/f816709bb2a3dc50efe6181a2ec6dd4d to your computer and use it in GitHub Desktop.

Revisions

  1. Josh Bowling revised this gist Apr 24, 2017. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion do-ubuntu-16.04-install-nvm-part-1.sh
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,11 @@
    # source https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-16-04
    # as of 23/4/2017

    #part 1

    # add build deps
    sudo apt-get update
    sudo apt-get install build-essential libssl-dev
    sudo apt-get -y install build-essential libssl-dev

    # grab v0.33.1 (most recent)
    curl -sL https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh -o install_nvm.sh
  2. Josh Bowling created this gist Apr 24, 2017.
    13 changes: 13 additions & 0 deletions do-ubuntu-16.04-install-nvm-part-1.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    #part 1

    # add build deps
    sudo apt-get update
    sudo apt-get install build-essential libssl-dev

    # grab v0.33.1 (most recent)
    curl -sL https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh -o install_nvm.sh

    # to inspect or not to inspect?? # nano install_nvm.sh

    # install
    bash install_nvm.sh
    3 changes: 3 additions & 0 deletions do-ubuntu-16.04-install-nvm-part-2.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    # logout and back in, then...

    source ~/.profile