# 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
- **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>
- **Dernière mise à jour:** 2026-07-29T16:05:03+02:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- gmailctl (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 0.12.0
## 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 Nucleus 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
## 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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


## 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
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
