Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
jiatao24
4 months agoNew Contributor
1Password-CLI not working
I'm installing 1Password-CLI on a new computer and I'm getting this error:
[ERROR] 2025/05/09 15:34:50 connecting to desktop app: write: The pipe is being closed.
Looking at the previous thread here: CLI can not connect to desktop app | 1Password Community
Update:
The latest production/stable 1Password app (8.10.78) and CLI (2.31.1) are now working together and the 1Password app can again unlock the CLI.
To use the fixed versions:winget update 1password-cli
Let us know if you run into any trouble after updating to the latest versions of the app and CLI.
16 Replies
- erbankuNew Contributor
Solved, thanks!
But if you're not planning to sign the code release, why even publish it? This isn't the first time this has happened, pretty disappointing.
- Joshua_ag
1Password Team
There was an error on our end, this was not intentional. We are sorry for the error.
- Joshua_ag
1Password Team
Hi Everyone,
Sorry for the issues you are having, something did go wrong with the signing of the 1Password CLI 2.31.0 and 2.31.0-beta.01 for Windows. Our team is currently working on a fix.
While we are working on the solution you can switch to the 2.30.3 version.
Either by:
- Going to our app updates site and downloading it directly then using our manual installation steps
- Using winget and 'forcing' the installation of the working version:winget install 1password-cli --version 2.30.3 --force
We will update again once we a fix has been released.
- Joshua_ag
1Password Team
Update:
The latest production/stable 1Password app (8.10.78) and CLI (2.31.1) are now working together and the 1Password app can again unlock the CLI.
To use the fixed versions:winget update 1password-cli
Let us know if you run into any trouble after updating to the latest versions of the app and CLI.
- Joshua_ag
1Password Team
Update:
A fixed version of the CLI beta has been released. You can update to that one (and the 1Password for Windows app beta/nightly) to take advantage of the fix. More details in the release notes
We know that the stable/production versions of the 1Password app and CLI are still not fixed. Work for those is ongoing.- RareBird15New Contributor
Are the betas installable with WinGet, or do I need to follow the manual installation instructions? I've been using WinGet up until now.
- bagginsesNew Contributor
Thanks jpettorinoβ
How does something this trivial get slipped intro production?
- jpettorinoNew Contributor
Wow, they broke things across the board.
After getting fed up trying to make it work on Windows, I switched to my Linux system. And it was broke af there, too. :/
- jpettorinoNew Contributor
This seems to break 1Password and VScode integration...
This quick start guide will get you up and running with the extension.
- Set up the CLI - v2.4.0 or greater of the 1Password CLI needs to be https://developer.1password.com/docs/cli/get-started#install.
- ...
(source: https://marketplace.visualstudio.com/items?itemName=1Password.op-vscode)
- RareBird15New Contributor
Can confirm the same issue here. Downgrading also fixed it for me.
- jiatao24New Contributor
I uninstalled the new version and re-installed 2.30.3 and it seems to be working, so it probably is the same problem as before.
- wazzamatazzNew Contributor
Desktop app logs suggest that it's the exact same problem as before - the updated CLI app isn't signed:
ERROR 2025-05-09T13:16:30.034+00:00 runtime-worker(ThreadId(8)) [1P:op-ipc\src\ipc\windows.rs:376] failed to verify trusted file certificate: WinApi(Error HRESULT(0x800B0100): No signature was present in the subject.)
- murnanaNew Contributor
I also stumbled upon this the first time I set up the CLI, so it helped! Thank you and I'll be sure to check out your site π.
For the benefit of others, I leave the CLI installation commands using winget.
```powershell
winget install --id AgileBits.1Password.CLI --version 2.30.3
```- jpettorinoNew Contributor
users may need to uninstall the broken / unsigned version first...
TL:DR
winget uninstall --id AgileBits.1Password.CLI
winget install --id AgileBits.1Password.CLI --version 2.30.3
All the things.
PS C:\Users\myuser> op signin [ERROR] 2025/05/12 10:09:00 connecting to desktop app: write: The pipe is being closed. PS C:\Users\myuser> op --version 2.31.0 PS C:\Users\myuser> winget install --id AgileBits.1Password.CLI --version 2.30.3 Found an existing package already installed. Trying to upgrade the installed package... No available upgrade found. No newer package versions are available from the configured sources. PS C:\Users\myuser> op --version 2.31.0 PS C:\Users\myuser> winget uninstall --id AgileBits.1Password.CLI Found 1Password CLI [AgileBits.1Password.CLI] Starting package uninstall... Successfully uninstalled PS C:\Users\myuser> winget install --id AgileBits.1Password.CLI --version 2.30.3 Found 1Password CLI [AgileBits.1Password.CLI] Version 2.30.3 This application is licensed to you by its owner. Microsoft is not responsible for, nor does it grant any licenses to, third-party packages. Downloading https://cache.agilebits.com/dist/1P/op2/pkg/v2.30.3/op_windows_amd64_v2.30.3.zip ββββββββββββββββββββββββββββββ 8.34 MB / 8.34 MB Successfully verified installer hash Extracting archive... Successfully extracted archive Starting package install... Command line alias added: "op" Successfully installed PS C:\Users\myuser> op --version 2.30.3 PS C:\Users\myuser> op signin Select account [Use arrows to move, type to filter] > Team Account (redacted.from.view)