Skip to content

Instantly share code, notes, and snippets.

@wookiecooking
Last active January 21, 2020 23:44
Show Gist options
  • Select an option

  • Save wookiecooking/0035c35aa7457ae22028 to your computer and use it in GitHub Desktop.

Select an option

Save wookiecooking/0035c35aa7457ae22028 to your computer and use it in GitHub Desktop.

Revisions

  1. wookiecooking revised this gist Mar 30, 2015. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion hosx.sh
    Original file line number Diff line number Diff line change
    @@ -7,11 +7,12 @@
    # Example Usage #
    Download Method::
    Download this file, and from the directory, run in terminal
    chmod +x hosx.sh
    sudo ./hosx.sh
    Oneliner Method::
    curl -L https://gist.githubusercontent.com/wookiecooking/0035c35aa7457ae22028/raw/c3298fa02b7b385931e4e3eeb5b2c11bdbbc3bc5/hosx.sh | sh
    sudo curl -L https://gist.githubusercontent.com/wookiecooking/0035c35aa7457ae22028/raw/af1c2b91e0c7c5888351b06d35e18c312b1a0d48/hosx.sh | sh
    COMMENT


  2. wookiecooking revised this gist Mar 30, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion hosx.sh
    Original file line number Diff line number Diff line change
    @@ -11,7 +11,7 @@ chmod +x hosx.sh
    sudo ./hosx.sh
    Oneliner Method::
    curl -L edit-me-after-creation | sh
    curl -L https://gist.githubusercontent.com/wookiecooking/0035c35aa7457ae22028/raw/c3298fa02b7b385931e4e3eeb5b2c11bdbbc3bc5/hosx.sh | sh
    COMMENT


  3. wookiecooking created this gist Mar 30, 2015.
    46 changes: 46 additions & 0 deletions hosx.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,46 @@
    #!/bin/bash

    <<COMMENT
    # Simple Installation of the latest Brew, Cask, Git, Node.js, and atom editor. #
    @Author: Austin Turnage
    @License: MIT
    # Example Usage #
    Download Method::
    chmod +x hosx.sh
    sudo ./hosx.sh
    Oneliner Method::
    curl -L edit-me-after-creation | sh
    COMMENT


    # Apple Download CLI Tools
    xcode-select --install

    # Install Brew
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

    # Make sure Brew has permissions
    brew doctor

    # Update Brew
    brew update

    # Install Brew Cask, for terminal app installs
    brew install caskroom/cask/brew-cask

    # Install Node.js, print the version
    brew install node
    node --version

    # updates npm
    npm update npm -g

    # Install Git, print version
    brew install git
    git --version

    # Install Atom w/ Brew & Cask, print version
    brew cask install atom
    apm --version