https://github.com/stakater/mac-dev-playbook
Repo containing playbooks for Mac Development
https://github.com/stakater/mac-dev-playbook
development mac playbook
Last synced: 11 months ago
JSON representation
Repo containing playbooks for Mac Development
- Host: GitHub
- URL: https://github.com/stakater/mac-dev-playbook
- Owner: stakater
- Created: 2019-11-06T14:28:32.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T05:46:40.000Z (over 2 years ago)
- Last Synced: 2024-04-15T04:16:31.451Z (about 2 years ago)
- Topics: development, mac, playbook
- Language: Shell
- Homepage: http://stakater.com
- Size: 4.88 KB
- Stars: 0
- Watchers: 5
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# macbook-setup
Ansible for MacBook
## Prerequisites
Starting with macOS Catalina, Macs will now use zsh as the default login shell and interactive shell across the operating system.
### Step 0 - Create environment file
```
touch .zshenv
```
### Step 1 - Install Oh My Zsh
Oh My Zsh is an open source, community-driven framework for managing your zsh configuration. It comes with a bunch of features out of the box and improves your terminal experience.
Install Oh My Zsh:
```
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
```
### Step 2 - Install brew
Brew `https://brew.sh/`
### Step 3 - Install Ansible
Ansible `brew install ansible`
## Running
Open a terminal and execute `sh run`. You will be prompted for your password in order to perform some tasks as `sudo`.
## Issues
```
fatal: [127.0.0.1]: FAILED! => {"changed": false, "msg": "file (/Users/waraich/.zshenv) is absent, cannot continue", "path": "/Users/waraich/.zshenv"}
```