Install a SIF configuration file
Here is an example of how to use SIF to install a SIF configuration file on a local server.
To install a SIF configuration file on a local instance:
-
Launch PowerShell as an administrator.
-
Set up the latest Sitecore Installation Framework.
-
To start the installation, run the
Install-SitecoreConfigurationcmdlet, and specify the path to your SIF configuration file.For example, using the
sitecore-XM1.jsonfile:Optionally, the parameters declared in the SIF configuration files can be passed in at the command line by prefixing their name with a dash “-“. For example:
In a PowerShell command line, you can pass additional parameters to control the installation process. For example:
Cmdlet Description -VerboseIncreases the amount of information that is logged. -Skip <taskname>Skips one or more tasks. For more information about the parameters that can be passed to the
Install-SitecoreConfigurationcmdlet, run the following cmdlet:
You can also use the scinst alias to run the Install-SitecoreConfiguration cmdlet.