---
title: "Installing Infoblox NIOS Modules for Ansible Collections"
canonical: "https://docs.infoblox.com/space/niosmodulesansible/45940852/Installing%20Infoblox%20NIOS%20Modules%20for%20Ansible%20Collections"
format: markdown
---
<span style="color: #000000">You can install the Infoblox NIOS modules for Ansible Collections from the </span><span style="color: #000000">*[Ansible Galaxy](https://galaxy.ansible.com/infoblox/nios_modules)*</span><span style="color: #000000"> portal or from the GitHub repository. Ensure that your setup meets the </span><span style="color: #000000">*[Prerequisites](https://infoblox-docs.atlassian.net/wiki/spaces/niosmodulesansible/pages/45074720)*</span><span style="color: #000000">, and then proceed to installing the collection.</span>

> ⚠️ **Note**
> ⚠️ 
> ⚠️ Prior versions of NIOS Modules for Ansible Collections such as version 1.1.0 or earlier require Ansible core version 2.10 or earlier to function properly. For software versions recommended by Infoblox, see <span style="color: #000000">*[Prerequisites](https://infoblox-docs.atlassian.net/wiki/spaces/niosmodulesansible/pages/45074720)*</span>.

# <span style="color: #000000">Installing from the Galaxy Portal</span>

<span style="color: #000000">You can install NIOS Modules for Ansible Collections offline or directly from the </span><span style="color: #000000">*[Ansible Galaxy](https://galaxy.ansible.com/infoblox/nios_modules)*</span><span style="color: #000000"> portal.</span>

<span style="color: #000000">To install directly from Ansible Galaxy, run the following command:</span>

`shell $ ansible-galaxy collection install infoblox.nios_modules`  
<span style="color: #000000">The collections folder is installed at ~/.ansible/collections/ansible_collections/infoblox/nios_modules.</span>  


<span style="color: #000000">Alternatively, you can download the TAR file of the latest or a prior version of NIOS Modules for Ansible Collections, which is hosted in Galaxy, and then install it offline. To perform an offline installation, complete the following steps:</span>

1. <span style="color: #000000">On the </span>*[nios modules](https://galaxy.ansible.com/infoblox/nios_modules)*<span style="color: #000000"> page in the Ansible Galaxy portal, from the </span><span style="color: #000000">**Install Version**</span><span style="color: #000000"> drop-down list, choose the required version of NIOS Modules for Ansible Collections.</span>  
<span style="color: #000000">By default, the latest version is selected.</span>
2. <span style="color: #000000">Click </span><span style="color: #000000">**Download tarball**</span><span style="color: #000000"> and save the file. </span>
3. <span style="color: #000000">In the CLI, go to the </span>`~/.ansible`<span style="color: #000000"> directory and run the following command:</span>  
`$ ansible-galaxy collection install infoblox-nios_modules-<version>.tar.gz -p /home/<user>/.ansible/collections`  
<span style="color: #000000">For the list of supported versions, see the </span><span style="color: #000000">*[Software compatible with Infoblox NIOS Modules for Ansible Collections](https://infoblox-docs.atlassian.net/wiki/spaces/niosmodulesansible/pages/45074720)*</span><span style="color: #000000"> table.</span>

# <span style="color: #000000">Installing from the GitHub Repository</span>

<span style="color: #000000">You can get the latest commit of NIOS Modules for Ansible Collections from the master branch of the </span><span style="color: #000000">*[GitHub](https://github.com/infobloxopen/infoblox-ansible)*</span><span style="color: #000000"> repository. To install, run the following command:</span>

`$ ansible-galaxy collection install git+https://github.com/infobloxopen/infoblox-ansible.git#ansible_collections/infoblox/nios_modules`


<span style="color: #000000">To download NIOS Modules for Ansible Collections and perform an offline installation, complete the following steps:</span>

1. <span style="color: #000000">Clone the Git repository by running the following command:</span>  
`$ git clone https://github.com/infobloxopen/infoblox-ansible.git`
2. <span style="color: #000000">Build the collection by running the following command from the root directory of the collection:</span>  
`$ ansible-galaxy collection build`  
<span style="color: #000000">This creates a tarball of the built collection, in the current directory.</span>
3. <span style="color: #000000">Install the collection:</span>  
`$ ansible-galaxy collection install infoblox-nios_modules-<version>.tar.gz -p /home/<user>/.ansible/collections`