Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
DutchDelight
2 years agoNew Contributor
1Password CLI crashes 1Password 8.10.30 BETA
```sh
❯ which op
/opt/homebrew/bin/op
❯ op vault list
[ERROR] 2024/03/28 04:59:51 connecting to desktop app: 1Password CLI couldn't connect to the 1Password desktop app. To fix this, update ...
Ryan_Parman
2 years agoDedicated Contributor
Context
- 1Password.app has "Integrate with 1P CLI" enabled. ✓
- 1Password.app is on beta channel.
- Using 1P CLI v2.26.1.
Running a shell script to load my credentials into my shell session.
Setup
Here's my .env file:
GORELEASER_KEY="op://Personal/{uuid}/credential"
Here's my op
script:
```
eval "$(op signin --account {account}.1password.com || true)"
shellcheck disable=2002,2312
eval "$(cat ".env" | op inject | xargs -I% echo "export %")"
```
Expected
The GORELEASER_KEY
environment variable would be defined, and whose value would be the credential pulled from 1P.
Actual
1Password.app crashed.
Asked if I wanted to report or ignore, and I chose to report.
1Password Version: 1Password for Mac 8.10.30 (81030011)
Extension Version: 2.22.1 (Test Flight)
OS Version: macOS 14.4.1
Browser: Safari Tech Preview