Skip to content

Install Ansible

More in-depth (and AI-generated!) documentation available at Install Ansible on Windows, Linux, and MacOS

  1. Ensure that Python is installed
  2. Create a new directory called ansible
mkdir ansible && cd $_
  1. Create a Python virtual environment
python3 -m venv venv
  1. Activate your venv
source venv/bin/activate
  1. Install Ansible
pip install ansible

Check which packages were installed using pip freeze command