---
title: "Amplia - Command-line tool"
description: "Command-line tool of on-premises Amplia for administrative tasks, and how to run its commands on Windows Server, Linux and Docker."
canonical: "https://docs.lacunasoftware.com/en-us/articles/amplia/on-premises/tool"
locale: "en"
product: "Amplia"
last_updated: "2026-10-12"
---

# Amplia - Command-line tool

[On-premises instances](https://docs.lacunasoftware.com/en-us/articles/amplia/on-premises) of [Amplia](https://docs.lacunasoftware.com/en-us/articles/amplia) provide a command-line tool that can be
used to perform certain administrative tasks.

## Running a command

Open a terminal and navigate into the installation directory, which depends on the installation plataform
(the actual directory could be different if you chose a custom directory during the setup):

* Windows Server: `cd C:\inetpub\Amplia`
* Linux: `cd /usr/share/amplia`

Then, run:

```sh
dotnet Lacuna.Amplia.Site.dll [settings] -- command [command-options]
```

Or, on Docker, simply run the following on any directory:

```sh
docker run -i lacunasoftware/amplia:5.0 [settings] -- command [command-options]
```

The `settings` arguments are additional settings to overwrite settings from configuration files and environment variables,
for instance `--Section1:Name1=value1 --Section2:Name2=value2`.

The `command-options` arguments depend on each command, see the command's specific documentation.

Available commands:

* [gen-enc-key](https://docs.lacunasoftware.com/en-us/articles/amplia/on-premises/tool/gen-enc-key)
* [hash-root-pass](https://docs.lacunasoftware.com/en-us/articles/amplia/on-premises/tool/hash-root-pass)
* [update-db](https://docs.lacunasoftware.com/en-us/articles/amplia/on-premises/tool/update-db)
* [test-email](https://docs.lacunasoftware.com/en-us/articles/amplia/on-premises/tool/test-email)

## See also

* [Amplia on-premises](https://docs.lacunasoftware.com/en-us/articles/amplia/on-premises)
