Skip to content

Instantly share code, notes, and snippets.

@wookiecooking
Last active January 21, 2020 23:44
Show Gist options
  • Save wookiecooking/0035c35aa7457ae22028 to your computer and use it in GitHub Desktop.
Save wookiecooking/0035c35aa7457ae22028 to your computer and use it in GitHub Desktop.
Simple Installation of the latest Brew, Cask, Git, Node.js, and atom editor.
#!/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::
Download this file, and from the directory, run in terminal
chmod +x hosx.sh
sudo ./hosx.sh
Oneliner Method::
sudo curl -L https://gist.githubusercontent.com/wookiecooking/0035c35aa7457ae22028/raw/af1c2b91e0c7c5888351b06d35e18c312b1a0d48/hosx.sh | 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment