https://github.com/frankdilo/mac-setup
Scripts to setup new macs.
https://github.com/frankdilo/mac-setup
cask homebrew mac setup
Last synced: 8 months ago
JSON representation
Scripts to setup new macs.
- Host: GitHub
- URL: https://github.com/frankdilo/mac-setup
- Owner: frankdilo
- License: mit
- Created: 2017-05-04T06:01:10.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-06T16:28:33.000Z (about 9 years ago)
- Last Synced: 2024-12-17T07:25:29.240Z (over 1 year ago)
- Topics: cask, homebrew, mac, setup
- Size: 5.86 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mac Setup
Scripts to setup new macs.
## Basic
### Install [Homebrew](https://brew.sh/) and [Cask](https://caskroom.github.io/)
```sh
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" && brew tap caskroom/cask
```
This will also download the Command Line Tools (`git`, etc.)
### Clone this repo
```sh
mkdir projects
cd projects
git clone https://github.com/frankdilo/mac-setup.git && cd mac-setup
```
### Install casks
```sh
while read app; do
brew cask install "$app"
done < homebrew-cask/basic.txt
```
```sh
# Remove downloaded files and cleanup space
brew cask cleanup
```
### Install Mac App Store apps
```sh
brew install mas # cli for the mac app store
```
```sh
app_ids_without_comments=$(grep -o '^[^#]*' mas/basic.txt | grep -v '^$')
echo $app_ids_without_comments | xargs mas install
```
## Development
### Install homebrews
```sh
while read tool; do
brew install "$tool"
done < homebrew/dev.txt
```
### Install casks
```sh
while read app; do
brew cask install "$app"
done < homebrew-cask/dev.txt
```
### Install [Oh My Zsh](https://github.com/robbyrussell/oh-my-zsh)
```sh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
```