> For the complete documentation index, see [llms.txt](https://doc.sitecorepowershell.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.sitecorepowershell.com/appendix/packaging/install-package.md).

# 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](/appendix/packaging/export-package.md)
* [Get-Package](/appendix/packaging/get-package.md)
* [Install-UpdatePackage](/appendix/packaging/install-updatepackage.md)
* [New-ExplicitFileSource](/appendix/packaging/new-explicitfilesource.md)
* [New-ExplicitItemSource](/appendix/packaging/new-explicititemsource.md)
* [New-FileSource](/appendix/packaging/new-filesource.md)
* [New-ItemSource](/appendix/packaging/new-itemsource.md)
* [New-Package](/appendix/packaging/new-package.md)
* <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>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://doc.sitecorepowershell.com/appendix/packaging/install-package.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
