# macos

Automation for getting macOS up and running.

**N.B.** that this assumes that both `curl` and `git` are available (the
former appears to be on both a fresh MacBook Pro and MacBook Air, the latter
needs to be installed manually first either by installing Xcode from the App
Store or by running `xcode-select --install`)

## usage

For first time installation, open a terminal and run:

```shell
export MF_HOMEBREW_STYLE=personal; curl -Ls https://mfgo.link/macos | bash
```

For subsequent updates use the brew bundle commands directly:

```shell
brew bundle dump --file personal.brewfile
brew bundle install --file personal.brewfile
brew bundle cleanup --file personal.brewfile
```

We also have an ansible component for things that can't be managed with
homebrew. You can use normal ansible commands:

```shell
ansible-galaxy install -r requirements.yml
ansible-playbook personal.yml
```

## additional

You may want to change your shell to `zsh` provided by homebrew because it
will be newer and more up-to-date than what is provided by macOS.

```shell
chsh -s "$(brew --prefix)/bin/zsh"
```

# macos

Automation for getting macOS up and running.

**N.B.** that this assumes that both `curl` and `git` are available (the
former appears to be on both a fresh MacBook Pro and MacBook Air, the latter
needs to be installed manually first either by installing Xcode from the App
Store or by running `xcode-select --install`, then you must accept the
license by running `sudo xcodebuild -license`)

## usage

For first time installation, open a terminal and run:

```shell
export MF_HOMEBREW_STYLE=personal; curl -Ls https://mfgo.link/macos | bash
```

For subsequent updates use the brew bundle commands directly:

```shell
brew bundle dump --file personal.brewfile
brew bundle install --file personal.brewfile
brew bundle cleanup --file personal.brewfile
```

We also have an ansible component for things that can't be managed with
homebrew. You can use normal ansible commands:

```shell
ansible-galaxy install -r requirements.yml
ansible-playbook personal.yml
```

## additional

You may want to change your shell to `zsh` provided by homebrew because it
will be newer and more up-to-date than what is provided by macOS.

```shell
chsh -s "$(brew --prefix)/bin/zsh"
```

Add node about accepting the xcode license
Add node about accepting the xcode license
