https://github.com/chadlavi/new-mac
Provision a new macOS machine with Homebrew, Dropbox, and ZSH
https://github.com/chadlavi/new-mac
dropbox homebrew macos ohmyzsh zsh
Last synced: 2 months ago
JSON representation
Provision a new macOS machine with Homebrew, Dropbox, and ZSH
- Host: GitHub
- URL: https://github.com/chadlavi/new-mac
- Owner: chadlavi
- License: gpl-3.0
- Created: 2016-05-14T21:12:20.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-04-02T02:48:29.000Z (over 9 years ago)
- Last Synced: 2025-07-03T16:40:00.597Z (12 months ago)
- Topics: dropbox, homebrew, macos, ohmyzsh, zsh
- Language: Shell
- Homepage:
- Size: 35.2 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Set up a new mac
This repo is meant for personal use—there's some stuff here that will break if you try to use it unmodified on your system. Feel free, however, to clone it and modify it as you see fit. That's more of less what this is anyway, my own personalized version of many people's different setup scripts.
### Setup
First, download and unzip this repo:
```shell
curl -Lk -o "$HOME/Downloads/new-mac.zip" "https://github.com/chadlavi/new-mac/archive/master.zip" && unzip $HOME/Downloads/new-mac.zip -d $HOME/Downloads/ && cd $HOME/Downloads/new-mac-master
```
Then, run the setup script:
```shell
./setup.sh
```
`setup.sh` is just a wrapper to run `tweaks.sh`, `homebrew.sh`, and `ohmyzsh.sh`.
### What does it do?
##### [tweaks.sh](tweaks.sh)
Sets various system settings and preferences—this is just an edited version of [osx-for-hackers.sh](https://gist.github.com/brandonb927/3195465).
##### [homebrew.sh](homebrew.sh)
Prompts you to download Xcode, then sets up [Homebrew](brew.sh) and installs the formulae and casks listed in `brewlist` and `casklist`.
After downloading Dropbox via `brew cask install dropbox`, it will open.
##### [ohmyzsh.sh](ohmyzsh.sh)
Sets up [OhMyZsh](https://github.com/robbyrussell/oh-my-zsh) and symlinks my dotfiles from Dropbox.
### Handy Links in case of problems
- Download [Google Chrome](https://www.google.com/chrome/browser/desktop/index.html)
- Download [Dropbox](https://www.dropbox.com/downloading?full=1&os=mac)
- Download [Xcode](https://itunes.apple.com/us/app/xcode/id497799835)