---
title: "How to install and license many add-ons"
canonical: "https://support.appfire.com/space/SUPPORT/89139244/How%20to%20install%20and%20license%20many%20add-ons"
format: markdown
---
# Description

The main [UPM Command Line Interface (CLI)](https://appfire.atlassian.net/wiki/spaces/UPMCLI) page shows you examples of installing an app. This article shows how to install and license all your standard apps quickly. An example use case is setting up a test server before and upgrade. This will install the latest compatible Marketplace version for the app. If you are using an EAP or beta version of the Atlassian server that may not have compatible apps listed, it will install the latest version on the Marketplace. See also  H[ow to automate installing add-ons for Atlassian applications](https://appfire.atlassian.net/wiki/spaces/SUPPORT/pages/89135188).

> ✅ The following requires a CLI 8.3 client or higher. [CLI 8.7](https://appfire.atlassian.net/wiki/spaces/ACLI/pages/60562240) is recommended.

# Install apps

```
upm-confluence -a runFromList --common "-a installApp --app @entry@ --wait" --continue --list org.swift.confluence.cli,org.swift.confluence.acli,org.swift.confluence.table,org.swift.confluence.run,org.swift.confluence.table,org.swift.confluence.run 
```

# License apps

The following requires you have all your apps licenses in files named after the app key containing the license key. Set the **file** parameter to the directory containing your license files.

##### **Example**

```
-a runFromList --common "-a addLicenses --file licenses" --continue --list org.swift.confluence.cli,org.swift.confluence.acli,org.swift.confluence.table,org.swift.confluence.run,org.swift.confluence.table,org.swift.confluence.run
```

##### **License directory**

```
ls licenses
- com.appfire.confluence.codepro.txt
- com.atlassian.confluence.extra.graphviz.txt
- org.swift.confluence.acli.txt
- org.swift.confluence.cache.txt
- org.swift.confluence.excel.txt
- org.swift.confluence.flash.txt
- org.swift.confluence.html.txt
- org.swift.confluence.macrosecurity.txt
- org.swift.confluence.markdown.txt
- org.swift.confluence.run.txt
- org.swift.confluence.script.txt
- org.swift.confluence.sql.txt
- org.swift.confluence.table.txt
- org.swift.confluence.visio.txt
```

# Add licenses for all apps

With [CLI 7.7](https://appfire.atlassian.net/wiki/spaces/ACLI/pages/60563927), we made it even easier to update and manage your licenses with a single action with the new **addLicenses** action. This will add licenses to any app in the instance that has a corresponding license file in the directory. This works for any Atlassian app license.

##### **Example**

```
-a addLicenses --file licenses
```