How to install Sitecore Installation Framework

Sitecore has a very well documented articles even though I decide to write down. It seems like this one should be easiest one as I have decided to published 5 blogs before March 2020. You can check one of Sitecore article here.

Before moving forward, lets check the compatibility by visiting : Sitecore Knowledge Base
Please search by “Sitecore Installation Framework” You will see the compatibility.

  1. Get the existing Repository: To check all the Repository, please do the below steps
    • Open PowerShell as administrator
    • Type “Get-PSRepository” and enter
    • You should see your existing Repository like “PSGallery” or “SitecoreGallery”
  2. Remove the existing repository if need do the below steps
    • Unregister-PSRepository -Name”myNuGetSource”
  3. Registering the Repository: To register the repository, please do the below
    • Open the PowerShell as administrator
    • Type “Register-PSRepository -Name SitecoreGallery -SourceLocation https://sitecore.myget.org/F/sc-powershell/api/v2” and enter
  4. Install the Framework: Now, let’s install SIF.
    • Open the PowerShell as administrator
    • Type “Install-Module SitecoreInstallFramework” and enter
    • When you are prompted to install the module, type [A] and press Enter
    • Wait for something till it completely installed.
  5. Updating the Framework: Same way as we did for Installation. Please execute the below PowerShell command to update the framework “Update-Module SitecoreInstallFramework
  6. Validating the Installation: To validate, please execute the below Command in Powershell.
    • Open PowerShell as administrator
    • Type “Get-Module SitecoreInstallFramework –ListAvailable” and enter
    • You should see all the SitecoreInstallFramework in your machine.
  7. Uninstall – Sitecore Install Framework : Sometime, it is important to uninstall the SIF. To uninstall please execute the below Powershell command.
    • Uninstall-Module -Name “SitecoreInstallFramework” -AllVersions
  8. Install a specific version: Sometime, it is important to install the specific version. To do that. We have to execute the below command in Powershell as an administrator
    • Install-Module -Name SitecoreInstallFramework -Repository SitecoreGallery -RequiredVersion #VersionNumber like 1.2.1
  9. Switching versions: Force PowerShell session to use the version you need. Just execute the below command in powershell as administrator
    • Remove-Module -Name SitecoreInstallFramework
    • Import-Module -Name SitecoreInstallFramework -RequiredVersion #Version Number like 1.2.1
  10. We can check the priority version by executing the GetModule command which I have mentioned above.
  11. I have found the “Installing the Framework Manually”. Sometime, it is important to do the manual deployment. For that, you can follow the Sitecore blog.

Share this Post