---
title: "Mango CLI terminal client — Mango Documentation"
description: "Install the Mango CLI terminal client on macOS or Ubuntu and connect to a running Mango Bouncer."
url: "https://mangoirc.chat/docs/terminal"
language: "en"
---

[All documentation](https://mangoirc.chat/docs)

# Mango CLI

Use Mango from a terminal. Connect to [Mango Bouncer](https://mangoirc.chat/docs/bouncer) or to Mango for Mac with Web Access enabled.

## Before you start

Start [Mango Bouncer](https://mangoirc.chat/docs/bouncer) or enable **Web Access** in Mango for Mac from **Settings → Web & CLI**. Have the Web Access URL, username, and password handy. The host runs the IRC connections and shares its conversations with the terminal.

## macOS

### Install from Mango

In Mango 3.1.6 for Mac, choose **Install Mango CLI…** from the Mango menu or **Settings → Web & CLI**. Select your shell and home folder in the installer. Open a new Terminal window and run ` mango-cli --version ` to check the installation.

bash

```bash
mango-cli --version
```

### Install the standalone client

Download the Mango CLI ZIP from the [Customer area](https://mangoirc.chat/customer). The app runs on Apple Silicon and Intel Macs with macOS 15 or later. Unzip it, move **Mango CLI.app** to Applications, and call the bundled binary from Terminal. Replace the URL and username with your Web Access details.

bash

```bash
cli='/Applications/Mango CLI.app/Contents/MacOS/mango-cli'
"$cli" https://mango.example.com mango
```

## Ubuntu

Download the Mango CLI ` .deb ` from the [Customer area](https://mangoirc.chat/customer) for Ubuntu 26.04. If you are unsure which to download, run ` dpkg --print-architecture `. Substitute your download’s filename and run this from the download directory.

bash

```bash
sudo apt install ./mango-cli_3.1.6-20261126211049_amd64.deb
mango-cli --version
```

## Connect

Pass the same URL you would open in your browser, followed by the Web Access username. Enter the Web Access password at the prompt. With the standalone Mac download, use ` "$cli" ` in place of ` mango-cli ` after setting the variable in the [macOS instructions](https://mangoirc.chat/docs/terminal#terminal-client-macos).

bash

```bash
mango-cli https://mango.example.com mango
```

For Bouncer on the same machine or over a [Bouncer SSH tunnel](https://mangoirc.chat/docs/bouncer#ssh-access), use the configured loopback URL.

bash

```bash
mango-cli http://127.0.0.1:8765 mango
```

If Bouncer needs activation, press **Enter** at the activation prompt to request an approval code. Open the Customer area shown on screen, sign in with your Mango Account passkey, and approve the host. See [Bouncer activation](https://mangoirc.chat/docs/bouncer#activation) for the full process.

## Use the terminal

- Press **F1** for the shortcut reference and **Ctrl+C** to exit the terminal client.
- Press **F2** to focus the conversation list, use the arrow keys, then press **Enter** to open a conversation. **F3** returns to the composer.
- Use ` /settings ` to open settings, ` /search ` to find messages, and ` /filter ` to narrow the current transcript.

If the client cannot connect, open the same Web Access URL in a browser. Check the scheme, hostname, and port, and verify that Bouncer or Mango for Mac is running. If the browser signs in but the transcript stays disconnected over HTTPS, check the [WebSocket proxy settings](https://mangoirc.chat/docs/bouncer#https-access).
