If you browse the official installation documentation for Ansible, you will find a variety of instructions for most mainstream Linux variants, Solaris, macOS, and FreeBSD. You will note, however, that there is no mention of Windows. The good news is that, if you are running recent versions of Windows 10 or Windows Server 2016, installing and running Ansible is now incredibly easy thanks to Windows Subsystem for Linux (WSL). This technology allows Windows users to run unmodified Linux distributions on top of Windows without the complications or overheads of a virtual machine, and, as such, this lends itself perfectly to running Ansible, as it can be installed and run with ease.
The official Ansible installation documentation can be found at https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html.