# Installer 1password-cli avec Homebrew Cask

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

## installation

```sh
sudo av install cask:1password-cli
```

## Réponse sur la sécurité des agents

1password-cli brokers access to secrets and vault items from local workflows.

- **Accès aux identifiants:** Can read secrets, documents, and account metadata after authentication.
- **Modification distante:** Can edit vault items and service-account-backed secret state.
- **Risque de publication ou d'artéfact:** Can export or inject secrets into downstream release tools.
- **Contrôle recommandé:** Gate item reads, exports, edits, and service-account token use.
- **Conseils d'utilisation par les agents:** Allow metadata inspection only; require approval for secret reads or item mutations.

Commandes d'installation supplémentaires:

### macOS

- Homebrew Cask (100%):

```sh
brew install --cask 1password-cli
```

  Preuve: local Homebrew cask metadata

## Faits du paquet

- **Clé du paquet:** cask:1password-cli
- **Gestionnaire de paquets:** Homebrew Cask
- **Version:** 2.38.1
- **Résumé source:** Command-line interface for 1Password
- **Page d'accueil:** <https://developer.1password.com/docs/cli>
- **Dernière mise à jour:** 2026-07-30T21:48:56Z
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- op (binaire)
- op (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 2.38.1
## Historique du projet et usages

1Password CLI is the official op command for using 1Password from a terminal, scripts, and developer workflows.

### Historique du projet

The official get-started documentation describes 1Password CLI as bringing 1Password to the terminal, with installation paths for macOS, Windows, and Linux and integration with the desktop app for local authentication.

1Password's official CLI 2 release notes show an actively maintained product-history stream for the modern CLI, including package installer changes, desktop app integration fixes, shell plugin work, and Docker tag behavior after CLI 1 deprecation.

### Historique d'adoption

CLI adoption is tied to developer and operations workflows: Homebrew, winget, manual installs, Docker images, shell plugins, scripts, and desktop-app-backed authentication are all documented official distribution or usage paths.

### Modes d'utilisation

Users run op to sign in, manage vault items, retrieve secrets, automate scripts, and integrate 1Password with shell and development workflows. The configuration directory can be controlled with --config or OP_CONFIG_DIR, otherwise it follows documented XDG and legacy directory precedence.

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

For package maintainers, 1Password CLI is notable because the Homebrew cask wraps a proprietary vendor-distributed binary, while the install docs state the cask is maintained by both Homebrew and 1Password developers and downloads from AgileBits/1Password CDN domains.

### Chronologie

- 2020s: 1Password CLI 2 becomes the actively maintained CLI line documented by the official CLI2 release notes.
- 2020s: Official install docs document Homebrew, winget, Linux package managers, manual downloads, and desktop app integration.
- 2025: CLI 2 release notes mention Docker tag behavior following CLI 1 deprecation.

### Related projects

- Related official surfaces include the 1Password desktop apps, 1Password Connect, shell plugins, Docker images, and the Homebrew Cask packaging repository.

### Sources

- <https://app-updates.agilebits.com/product_history/CLI2>
- <https://www.1password.dev/cli/config-directories.md>
- <https://www.1password.dev/cli/get-started.md>
- <https://www.1password.dev/cli/reference>


## Notes de sécurité

Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour 1password-cli. 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}/op, ~/.config/op, ~/.op, ${XDG_CONFIG_HOME}/.op
## Autres enregistrements de gestionnaires de paquets

- Nix - _1password-cli: normalized package name match | nixpkgs package indexes: pkgs/by-name/_1/_1password-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - 1password-cli: normalized package name match | MacPorts ports tree: security/1password-cli/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/1password-cli: normalized package name match | Scoop official bucket manifest trees: bucket/1password-cli.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - AgileBits.1Password.CLI: normalized package name match | Windows Package Manager source index: AgileBits.1Password.CLI from https://cdn.winget.microsoft.com/cache/source.msix
- Chocolatey - op: installed executable or alias match | Chocolatey community package catalog: op from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','nvs'


## Combined YAML source

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


## Sources

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