# Install-Package

Installs a Sitecore package from the specified path.

## Syntax

Install-Package \[\[-Path] \<String>] \[-InstallMode \<Undefined | Overwrite | Merge | Skip | SideBySide>] \[-MergeMode \<Undefined | Clear | Append | Merge>] \[-DisableIndexing]

## Detailed Description

Installs Sitecore package with the ability to provide default responses for merge and overwrite actions. The alias for the command is Import-Package.

© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions

## Aliases

The following abbreviations are aliases for this cmdlet:

* Import-Package

## Parameters

### -Path \<String>

Path to the package file.

| Aliases                     |       |
| --------------------------- | ----- |
| Required?                   | false |
| Position?                   | 1     |
| Default Value               |       |
| Accept Pipeline Input?      | false |
| Accept Wildcard Characters? | false |

### -InstallMode \<InstallMode>

Undefined, Overwrite, Merge, Skip, SideBySide

| Aliases                     |       |
| --------------------------- | ----- |
| Required?                   | false |
| Position?                   | named |
| Default Value               |       |
| Accept Pipeline Input?      | false |
| Accept Wildcard Characters? | false |

### -MergeMode \<MergeMode>

Undefined, Clear, Append, Merge

| Aliases                     |       |
| --------------------------- | ----- |
| Required?                   | false |
| Position?                   | named |
| Default Value               |       |
| Accept Pipeline Input?      | false |
| Accept Wildcard Characters? | false |

### -DisableIndexing \<SwitchParameter>

| Aliases                     |       |
| --------------------------- | ----- |
| Required?                   | false |
| Position?                   | named |
| Default Value               |       |
| Accept Pipeline Input?      | false |
| Accept Wildcard Characters? | false |

## Notes

Help Author: Adam Najmanowicz, Michael West

## Examples

### EXAMPLE

```powershell
PS master:\> Install-Package -Path SitecorePowerShellConsole.zip -InstallMode Merge -MergeMode Merge
```

## Related Topics

* [Export-Package](https://doc.sitecorepowershell.com/appendix/packaging/export-package)
* [Get-Package](https://doc.sitecorepowershell.com/appendix/packaging/get-package)
* [Install-UpdatePackage](https://doc.sitecorepowershell.com/appendix/packaging/install-updatepackage)
* [New-ExplicitFileSource](https://doc.sitecorepowershell.com/appendix/packaging/new-explicitfilesource)
* [New-ExplicitItemSource](https://doc.sitecorepowershell.com/appendix/packaging/new-explicititemsource)
* [New-FileSource](https://doc.sitecorepowershell.com/appendix/packaging/new-filesource)
* [New-ItemSource](https://doc.sitecorepowershell.com/appendix/packaging/new-itemsource)
* [New-Package](https://doc.sitecorepowershell.com/appendix/packaging/new-package)
* <https://github.com/SitecorePowerShell/Console/>
* <https://blog.najmanowicz.com/2011/12/19/continuous-deployment-in-sitecore-with-powershell/>
* <https://gist.github.com/AdamNaj/f4251cb2645a1bfcddae>
* <https://www.youtube.com/watch?v=60BGRDNONo0&list=PLph7ZchYd_nCypVZSNkudGwPFRqf1na0b&index=7>
