Install Ansible
More in-depth (and AI-generated!) documentation available at Install Ansible on Windows, Linux, and MacOS
- Ensure that Python is installed
- Create a new directory called ansible
mkdir ansible && cd $_
- Create a Python virtual environment
python3 -m venv venv
- Activate your venv
source venv/bin/activate
- Install Ansible
pip install ansible
Check which packages were installed using pip freeze command