Skip to content

Instantly share code, notes, and snippets.

@hillaryj
Last active March 26, 2019 14:25
Show Gist options
  • Save hillaryj/1738ff7fbfbc2cc890785c40725d03e9 to your computer and use it in GitHub Desktop.
Save hillaryj/1738ff7fbfbc2cc890785c40725d03e9 to your computer and use it in GitHub Desktop.
Command line refs

Contains various commands that are useful that I've had to look up before.

Install via homebrew to specific folder

brew cask install --appdir="~/Applications" <package-name>

Clean up homebrew

brew cleanup -s

Upgrade all with pip

pip freeze --local |sed -En 's/^([^=# \t\\][^ \t=]*)=.*/echo; echo Processing \1 ...; pip install -U \1/p' |sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment