Homebrew is a package manager for Mac OS X that allows you to install many packages useful for web/software development. How to install Ansible on Mac OS X using Homebrewįirst, ensure that you have Homebrew installed. This is especially useful if you’re using a version manager like asdf, which I highly recommend. Its published on PyPi as nextstrain-augur.
The main difference between the two methods is that using pip will give you more control over the Python version Ansible uses as well as any Python packages that Ansible depends on. Augur is written in Python 3 and requires at least Python 3.4.
I also agree that this is the best way to install Ansible and this is how I do it on my machine, however I think installing it by using Homebrew is probably the best way for beginners. Docker for Mac offers a Mac native application that installs in /Applications.It creates symlinks (symbolic links) in /usr/local/bin for docker and docker-compose to the Mac versions of the commands in the application bundle. The official documentation states that their preferred method for installing Ansible on Mac OS X is using Python pip. Getting Started Install Docker on macOS Install Docker on macOS. The two best methods for installing Ansible on Mac OS X are: