---
title: "How to install Confluence CLI(v8.8.0) and run CLI commands in Windows"
canonical: "https://support.appfire.com/space/SUPPORT/89133172/How+to+install+Confluence+CLI(v8.8.0)+and+run+CLI+commands+in+Windows"
format: markdown
---
This article gives step by step instructions on how to install the Confluence CLI app and execute CLI commands in Windows using the CLI Client app version below 9.0<span style="color: #1d1c1d">.</span>

## Instructions

Confluence CLI is a command line interface to access Confluence remotely. It has two components:

- **CLI Client** - Installed on any Windows system that has Java version 8 or higher.
- **CLI Connector** - Installed on the server using Universal Plugin Manager (UPM).

## Confluence CLI Client Installation:

1. You need to download the client version (between v8.0 - v8.8) from [this page](https://appfire.atlassian.net/wiki/spaces/ACLI/pages/60559193/Downloads+-+Version+8.x). For example, go to the given link and click on the *atlassian-cli-8.8.0-distribution.zip *file to download the client version v8.8.0.
2. Once the file is downloaded, extract the files. For example, you can right-click on the downloaded file and click on **Extract All, **as shown in the below screenshot. > Macro (inline-media-image)
3. Go to the ACLI folder (Ex: atlassian-cli-8.8.0) in Windows Explorer.
4. Edit Confluence.bat file
5. Update the file with the required parameters like server name, user name, and password. For example, the Confluence CLI file looks like this:

## Confluence CLI Connector Installation:

1. <span style="color: #333333">Login to Confluence as an administrator</span><span style="color: #333333"> and click </span>> Macro (inline-media-image)

 ***>***  ***Add-ons >  Find new**** ****apps*** and search for "Confluence Command Line Interface". Upon receiving the results, click **Free trial** under the <span style="color: #333333">*Confluence*</span>* Command Line Interface (CLI). *After installation, ensure that the license is updated in the License section. If you have a license, you can apply the same.> Macro (inline-media-image)
2. The CLI Connector is installed with a valid license and you can view the app from the **Manage apps** page.

## Executing the CLI Commands:

1. CLI commands are executed from the Windows command prompt. To execute an action, open the command prompt and go to the path where the CLI Client is installed.
2. Here are some sample CLI commands:
  1. To create a space, use *addSpace *action along with the required parameters. The below CLI command creates a space with a name *zclispace *:
  2. To create a page, use *addPage *action along with the required and optional parameters. Below CLI command creates a page with a content "This is a test page" in a specific space, zclispace, in the below example:
  3. To add labels to a page, use *addLabels* action along with the required and optional parameters. Below CLI command adds labels to a particular page titled, "This is a new title", in the below example:
    

> ℹ️ - Visit the [Examples page](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68458176/Examples) for more Confluence CLI examples.