mirror of
https://github.com/geerlingguy/mac-dev-playbook
synced 2024-11-21 19:33:03 +00:00
Make first-time setup instructions slightly more succint. And correct.
This commit is contained in:
parent
bc7364fac4
commit
2422114776
1 changed files with 5 additions and 10 deletions
15
README.md
15
README.md
|
@ -11,18 +11,13 @@ This playbook installs and configures most of the software I use on my Mac for w
|
|||
1. Ensure Apple's command line tools are installed (`xcode-select --install` to launch the installer).
|
||||
2. [Install Ansible](https://docs.ansible.com/ansible/latest/installation_guide/index.html):
|
||||
|
||||
1. Add the following to your `~/.zshrc` file (create one if you don't have one):
|
||||
1. Run the following command to add Python 3 to your $PATH: `export PATH="$HOME/Library/Python/3.8/bin:/opt/homebrew/bin:$PATH"`
|
||||
2. Install Ansible: `pip3 install ansible`
|
||||
3. Install the command line tools when prompted (this may take a few minutes).
|
||||
|
||||
```
|
||||
export PATH="$HOME/Library/Python/3.8/bin:/opt/homebrew/bin:$PATH"
|
||||
```
|
||||
|
||||
2. Source the new profile: `source ~/.zshrc`
|
||||
3. Install Ansible: `pip3 install ansible`
|
||||
|
||||
3. Clone this repository to your local drive.
|
||||
3. Clone or download this repository to your local drive.
|
||||
4. Run `$ ansible-galaxy install -r requirements.yml` inside this directory to install required Ansible roles.
|
||||
5. Run `ansible-playbook main.yml --ask-become-pass` inside this directory. Enter your account password when prompted.
|
||||
5. Run `ansible-playbook main.yml --ask-become-pass` inside this directory. Enter your macOS account password when prompted for the 'BECOME' password.
|
||||
|
||||
> Note: If some Homebrew commands fail, you might need to agree to Xcode's license or fix some other Brew issue. Run `brew doctor` to see if this is the case.
|
||||
|
||||
|
|
Loading…
Reference in a new issue