An open API service indexing awesome lists of open source software.

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.

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)"
```