# Installer gmailctl avec Homebrew, dnf, MacPorts, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de gmailctl pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:gmailctl
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install gmailctl
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gmailctl
```

  Preuve: MacPorts ports tree: mail/gmailctl/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- dnf (92%):

```sh
sudo dnf install gmailctl
```

  Preuve: Fedora Rawhide package metadata: gmailctl from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#gmailctl
```

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

## Faits du paquet

- **Clé du paquet:** brew:gmailctl
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/gmailctl>
- **Version:** 0.12.0
- **Résumé source:** Declarative configuration for Gmail filters
- **Page d'accueil:** <https://github.com/mbrt/gmailctl>
- **Dépôt:** <https://github.com/mbrt/gmailctl>
- **Licence:** MIT
- **Archive source:** <https://github.com/mbrt/gmailctl/archive/refs/tags/v0.12.0.tar.gz>
- **Dernière mise à jour:** 2026-07-29T16:05:03+02:00
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- gmailctl (cli)
- gmailctl (alias)

## Dépendances de compilation

- go

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 0.12.0
- gestionnaire mis à jour: 2026-07-29
- données locales: OK
- dépôt amont: https://github.com/mbrt/gmailctl
- dernière version détectée: v0.12.0 (à jour)
## Historique du projet et usages

gmailctl is a Go command-line tool for maintaining Gmail filters as declarative Jsonnet configuration. It treats mail filtering rules as code: users edit a local configuration, review a diff, and apply the result through the Gmail API instead of importing XML filters by hand.

### Historique du projet

The public repository was created in 2018 by Marco Bertoni. The README frames the project around a practical frustration with long, hard-to-audit Gmail filter lists and contrasts gmailctl with tools that generate XML for manual import.

The project developed around a small CLI surface: init, edit, diff, apply, download, export, and debug. Versioned GitHub releases show a 0.x series continuing from 2021 through 2026, with prebuilt binaries and Go installation documented upstream.

### Historique d'adoption

gmailctl's adoption story is that of a focused personal-infrastructure tool rather than a large ecosystem platform. It reached package managers such as Homebrew, Fedora, MacPorts, Nix, and Snap, making a Gmail-account automation workflow installable through normal workstation provisioning.

The repository's star count and package availability indicate a recognizable niche among users who want email rules to live in version control and code review, especially people already comfortable with command-line tools and declarative configuration.

### Modes d'utilisation

Practitioners run gmailctl init to set up Gmail API access, then use gmailctl edit or a local Jsonnet file to maintain filters. The tool can show diffs against Gmail settings, apply the local configuration, export XML, and download existing filters as a migration starting point.

Its main operational value is repeatability: filter rules can be reviewed, backed up, refactored, and reapplied, while credentials and tokens stay in the gmailctl configuration directory.

### Pourquoi les passionnés de paquets s'y intéressent

For package users, gmailctl is a small example of SaaS configuration drifting into dotfile territory. It packages the hidden state of a Gmail account as a CLI-managed artifact, so a mail workflow can be installed and upgraded alongside other command-line tools.

### Chronologie

- 2018: Public GitHub repository created.
- 2021: Version 0.10.0 published in the GitHub releases stream.
- 2026: Version 0.12.0 published.

### Related projects

- gmail-britta is cited by the README as an earlier Gmail-filter DSL approach based around XML import.
- Jsonnet supplies the configuration language used for composable Gmail filter definitions.

### Sources

- <https://api.github.com/repos/mbrt/gmailctl>
- <https://github.com/mbrt/gmailctl>
- <https://github.com/mbrt/gmailctl/releases>


## Notes de sécurité

Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour gmailctl. Les métadonnées de paquet restent publiées ici afin que la couverture future dispose d'une URL stable.



## 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/gmailctl/config.jsonnet, ~/.config/gmailctl/config.jsonnet, ~/.gmailctl/config.jsonnet

## Credential files

- Unix: $XDG_CONFIG_HOME/gmailctl/credentials.json, $XDG_CONFIG_HOME/gmailctl/token.json, ~/.config/gmailctl/credentials.json, ~/.config/gmailctl/token.json, ~/.gmailctl/credentials.json, ~/.gmailctl/token.json
## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** gmailctl
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Autres enregistrements de gestionnaires de paquets

- Nix - gmailctl: normalized package name match | nixpkgs package indexes: pkgs/by-name/gm/gmailctl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - gmailctl - 0.12.0-2.fc45: normalized package name match | Fedora Rawhide package metadata: gmailctl from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Declarative configuration for Gmail filters | https://github.com/mbrt/gmailctl
- MacPorts - gmailctl: normalized package name match | MacPorts ports tree: mail/gmailctl/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Liens liés

- [Source-control packages](https://pkg.so/fr/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/fr/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://pkg.so/fr/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://pkg.so/fr/brew/go/) - Build dependency declared by Homebrew.
- [gogcli](https://pkg.so/fr/brew/gogcli/) - Shares pkgdb curated category or tags: automation, cli, gmail, productivity.
- [googleworkspace-cli](https://pkg.so/fr/brew/googleworkspace-cli/) - Shares pkgdb curated category or tags: automation, cli, gmail, productivity.
- [dockutil](https://pkg.so/fr/brew/dockutil/) - Shares pkgdb curated category or tags: automation, cli, configuration, productivity.
- [himalaya](https://pkg.so/fr/brew/himalaya/) - Shares pkgdb curated category or tags: cli, email, productivity.
- [mackup](https://pkg.so/fr/brew/mackup/) - Shares pkgdb curated category or tags: cli, configuration, productivity.
- [mutt](https://pkg.so/fr/brew/mutt/) - Shares pkgdb curated category or tags: cli, email, productivity.
- [tmuxinator](https://pkg.so/fr/brew/tmuxinator/) - Shares pkgdb curated category or tags: automation, cli, productivity.
- [neomutt](https://pkg.so/fr/brew/neomutt/) - Shares pkgdb curated category or tags: cli, email, productivity.
- [imap-backup](https://pkg.so/fr/brew/imap-backup/) - Local package facts share a topical domain. Shared terms: cli, email, gmail, productivity.
- [gmail-getter](https://pkg.so/fr/npm/gmail-getter/) - Local package facts share a topical domain. Shared terms: cli, email, gmail, productivity.

## Combined YAML source

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


## Sources

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