# Install mmctl with Homebrew, Nix, pacman

Remote CLI tool for Mattermost server. Version 11.9.0 via Homebrew; verified 2026-07-29. Also installable with nix: nix profile install nixpkgs#mmctl.

## Install

```sh
sudo av install brew:mmctl
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install mmctl
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#mmctl
```

  Evidence: nixpkgs package indexes: pkgs/by-name/mm/mmctl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S mmctl
```

  Evidence: Arch Linux sync databases: mmctl from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Package facts

- **Package key:** brew:mmctl
- **Package manager:** Homebrew
- **Version:** 11.9.0
- **Source summary:** Remote CLI tool for Mattermost server
- **Homepage:** <https://mattermost.com>
- **Repository:** <https://github.com/mattermost/mattermost>
- **Last updated:** 2026-07-29T17:04:56+02:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- mmctl (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 11.9.0
## Project history and usage

mmctl is Mattermost's administrative command-line client. The Mattermost documentation describes it as a CLI for Mattermost servers that is installed locally, uses the Mattermost API, and can operate remotely. Authentication can use login credentials or an authentication token, which makes it useful for administrators who do not have shell access to the Mattermost server host.

### Project history

Its history is tied to Mattermost's transition away from the older server-local `mattermost` CLI for many administrative actions. Mattermost documentation says that from Mattermost v6.0, the majority of the older CLI commands were replaced by equivalents in mmctl, while some import, export, server, and database commands remained in the `mattermost` CLI. The mmctl documentation also notes that the tool was developed to a large extent through community contributions.

### How it is used

In use, mmctl is a remote administration and automation tool for self-hosted and Cloud Mattermost instances. System administrators use it for user, team, channel, role, permission, config, auth, export, import, plugin, and other server-management operations from scripts or local terminals. The Homebrew package makes sense for admins who manage Mattermost from macOS without installing a full Mattermost server distribution.

### Sources

- <https://docs.mattermost.com/administration-guide/manage/command-line-tools.html>
- <https://docs.mattermost.com/administration-guide/manage/mmctl-command-line-tool.html>
- <https://formulae.brew.sh/formula/mmctl>
- <https://github.com/mattermost/mattermost>
- <https://github.com/mattermost/mmctl>


## Security Notes

No matching local secret-handling manifest was found for mmctl. Nucleus package metadata is still published here so future coverage has a stable package URL.



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: $XDG_CONFIG_HOME/mmctl/config

## Credential files

- Unix: $XDG_CONFIG_HOME/mmctl/config
## Other Package-Manager Records

- Nix - mmctl: normalized package name match | nixpkgs package indexes: pkgs/by-name/mm/mmctl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - mmctl - 11.9.0-2: normalized package name match | Arch Linux sync databases: mmctl from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Open source Slack-alternative in Golang and React | https://mattermost.com


## Combined YAML source

View the package source record on GitHub. [combined/mmctl.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mmctl.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
