Skip to content

Installing Ansible

Using pip

pip install ansible

Ubuntu / Debian

sudo apt update
sudo apt install ansible

macOS (Homebrew)

brew install ansible

Windows

Use Ansible inside WSL (Ubuntu/Debian).

Verify Installation

ansible --version

Warning

Do not mix pip-based installs with OS package installs.