Signing back into the Community for the first time? You'll need to reset your password to access your account. Find out more.
Forum Discussion
Backspaze
2 years agoFrequent Contributor
Some questions regarding 1Password CLI and winget
I've been using 1Password CLI since it's initial release and just now I figured I would check if there's some smoother way of managing updates of the application.
As of now, the steps for updating...
Backspaze
2 years agoFrequent Contributor
Small update on this.
When installing 1Password CLI manually, I added the "install" folder C:\Program Files\1Password CLI
to PATH
for the entire system, while the installed winget package added its install folder, %LOCALAPPDATA%\Microsoft\WinGet\Packages\AgileBits.1Password.CLI_Microsoft.Winget.Source_8wekyb3d8bbwe
, to the PATH
for my user account. Thus when running any op
command, I was still using the old manually installed op.exe
.
I noticed this today when I tried to update the winget installation and it said that it already was updated and running 2.23.0, while op --version
showed 2.21.0. Removing C:\Program Files\1Password CLI
from system PATH
fixed this without needing a reboot. I've also removed the folder C:\Program Files\1Password CLI
without any issues.
Side note regarding updating through winget. There is a delay between when a new version is released for installing using the manual method and when it becomes available in winget. The latest version right now is 2.24.0 and it was released 2023-12-14 which is more than three weeks ago. I subscribe to the RSS feed for the releases and noticed that this kind of delay of 2 or more weeks has been consistent for the winget version and I'm guessing this is caused by some extra steps required, like validation, for publishing updates to winget.