This is a script to help set up macOS for CLIR/DLF.
It can be run multiple times on the same machine safely. It installs, upgrades, or skips packages based on if they are already installed on the machine.
This script is largely based on thoughtbot/laptop.
Install XCode Command Line Tools by pasting the following:
xcode-select --install
Answer any questions you are prompted to.
Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Download the script:
curl --remote-name https://raw.githubusercontent.com/waynegraham/laptop/master/mac
Review the script (avoid running scripts you haven't read!):
less mac
Execute the downloaded script:
sh mac 2>&1 | tee ~/laptop.log
Your last run will be saved to ~/laptop.log
.
macOS tools:
- Homebrew
Unix Tools:
- Git
- OpenSSL
- The Silver Searcher
GitHub Tools:
- Hub
Productivity:
- Asana
- Box Drive (and box tools)
- Adobe Creative Cloud
- Firefox
- Google Chrome
- iterm2
- 1Password
- Libre Office
- Microsoft Office 365
- Visual Studio Code
- Slack
- Zoom
#!/bin/sh
brew bundle --file=- <<EOF
brew "Caskroom/cask/dockertoolbox"
brew "go"
brew "ngrok"
brew "watch"
EOF
fancy_echo "Cleaning up old Homebrew formulae ..."
brew cleanup
brew cask cleanup