# 1password-cli mit Homebrew Cask installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für 1password-cli in AI-Agent-Workflows.

## Installation

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

## Antwort zur Agent-Sicherheit

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

- **Credential-Zugriff:** Can read secrets, documents, and account metadata after authentication.
- **Änderungen an Remote-Zustand:** Can edit vault items and service-account-backed secret state.
- **Publish-/Artefakt-Risiko:** Can export or inject secrets into downstream release tools.
- **Empfohlene Kontrolle:** Gate item reads, exports, edits, and service-account token use.
- **Hinweise für Agent-Nutzung:** Allow metadata inspection only; require approval for secret reads or item mutations.

Weitere Installationsbefehle:

### macOS

- Homebrew Cask (100%):

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

  Evidenz: local Homebrew cask metadata

## Paketfakten

- **Paketschlüssel:** cask:1password-cli
- **Paketmanager:** Homebrew Cask
- **Version:** 2.38.1
- **Quellzusammenfassung:** Command-line interface for 1Password
- **Homepage:** <https://developer.1password.com/docs/cli>
- **Zuletzt aktualisiert:** 2026-07-30T21:48:56Z
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- op (Binärdatei)
- op (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 2.38.1
## Projektgeschichte und Nutzung

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

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

- 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.

### Quellen

- <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>


## Sicherheitshinweise

Für 1password-cli wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.



## 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
## Andere Paketmanager-Einträge

- 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)


## Quellen

- 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
