# Before you begin

Before you begin upgrading from the command line interface, familiarize yourself with the available silent command line parameters.

The following command line parameters are available for running the Pentaho Upgrade Installer:

| Parameter                       | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `-help / --help`                | Show help text for usage.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| `-i [gui \| silent \| console]` | <p>Specify one of the following methods for running the Pentaho Upgrade Installer:- <strong><code>gui</code></strong></p><p>The default graphical interface.</p><ul><li><strong><code>silent</code></strong></li></ul><p>A non-graphical upgrade method, used for environments that do not support the display of a graphical interface. This method issues no command line prompts. All parameters must be passed from the command line, including the acceptance of the End User License Agreement.</p><ul><li><strong><code>Console</code></strong></li></ul><p>An interactive non-graphical upgrade method, suitable for environments that do not support the display of a graphical interface.</p> |
| `-DEULA=<value>`                | <p>Specify your response to the End User License Agreement:- <strong><code>\<true></code></strong></p><p>You accept the End User License Agreement. This setting is required for silent mode.</p><ul><li><strong><code>\<false></code></strong></li></ul><p>You do not accept the End User License Agreement. Silent mode installation will not run if the value is set to <code>false</code>.</p>                                                                                                                                                                                                                                                                                                      |
| `-DHASH_FILE_ZIP`               | Specify the location of the `installer-hash-zip` file when prompted. For installing 9.3.0.3, 9.4.0.1 or later, the upgrade installer requires an installer hash file that must be downloaded from the [Support Portal](https://support.pentaho.com/hc/en-us). Example silent mode command:`./pentaho-update-<version>.bin -i silent -DEULA=true -DUSER_INSTALL_DIR=<dir> -DHASH_FILE_ZIP=<dir>/installer-hash-files.zip`                                                                                                                                                                                                                                                                                |
| `-DUSER_INSTALL_DIR=<dir>`      | Specify the location of the Pentaho root installation directory. This setting is required for the silent mode.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `-DRESTORE=<value>`             | <p>Specify if you are using the silent mode to restore a backup for your original Pentaho products before an upgrade:- <strong><code>\<true></code></strong></p><p>Restore the backup of your original Pentaho products before upgrading.</p><ul><li><strong><code>\<false></code></strong></li></ul><p>Upgrade your existing Pentaho products to version 10.2. The default value is false. If this command line option is not set, the silent mode installation will upgrade your Pentaho products.</p>                                                                                                                                                                                                |
| `-DBACKUP_ZIP=<file>`           | Specify the location of the backup ZIP file produced by the upgrade process. This setting is required if you are restoring your original Pentaho 8.3 or later products.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |


---

# Agent Instructions: 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:

```
GET https://docs.pentaho.com/install/10.2-install/pentaho-upgrade-cp/using-the-pentaho-upgrade-installer-in-silent-mode-cp/before-you-begin-pentaho-upgrade-installer-silent-mode.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
