Protect what matters ā even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
Former Member
4 years agoWhen will CLI 2.0 be on Homebrew
Before using the CLI 2.0 beta I had the CLI https://formulae.brew.sh/cask/1password-cli#default. I'd like to be able to use that install method again. When will the 2.0 version be there? I feel like this may have been an unofficial install method as well, which lends to asking, will you be officially releasing the 1Password CLI via Homebrew?
1Password Version: 8.6.0-81.BETA
Extension Version: 2.3.0
OS Version: macOS 12.3 (21E230)
14 Replies
- Former Member
No worries, don't hesitate to let us know if we can help with anything else!
- Former Member
Ok, thanks!
- Former Member
MatthewPackwood Thanks for the update. We are having issues in the tap (a new repo, maintained by us) vs cask (community maintained) source of truth and will be looking into it soon!
- Former Member
@"Justin.Yoon_1P" I had an interesting "thing" yesterday, I ran "
brew update", it told me there was an outdated cask, I ran "brew outdated" and brew told me it was 1password-cli, I ran "brew upgrade" and it installed 2.0.0 over 2.0.0 - weird. - Former Member
Hi folks, we are going to look into why
brew upgradedefaults to the https://github.com/Homebrew/homebrew-cask/blob/master/Casks/1password-cli.rb even though it's been installed by our https://github.com/1Password/homebrew-tap.For the meantime, it looks like the downgrading issue should have been mitigated due to the https://github.com/Homebrew/homebrew-cask/pull/120540/files.
- XIIISuper Contributor
I seem to be suffering from the same as MatthewPackwood, because after todays Homebrew update I get this:
ā op --version
1.12.4
š¢(does explain why all my automation is broken today...)
Reproducible:
ā brew update
Already up-to-date.
ā brew upgrade
==> Casks with 'auto_updates true' or 'version :latest' will not be upgraded; pass `--greedy` to upgrade them.
==> Upgrading 1 outdated package:
1password-cli 2.0.0 -> 1.12.4
==> Upgrading 1password-cli
==> Downloading https://cache.agilebits.com/dist/1P/op/pkg/v1.12.4/op_apple_universal_v1.12.4.pkg
- Former Member
I am having an interesting issue:
I runbrew update / brew upgrade- homebrew does nothing with the CLI (leaves me on 1.12.4)
I runbrew remove 1password-cli
Thenbrew install --cask 1password/tap/1password-cli - that installs 2.0.0
Then I runbrew update- I get "Already up-to-date." as a response
I runbrew upgrade(because "why not") and brew removes 2.0.0 and installs 1.12.4 - Former Member
XIII I'm glad to see it's working for you š
- XIIISuper Contributor
Yes I did, but Homebrew downloaded this: https://cache.agilebits.com/dist/1P/op/pkg/v1.12.4/op_apple_universal_v1.12.4.pk
I just tried again and now it downloaded this instead: https://cache.agilebits.com/dist/1P/op2/pkg/v2.0.0/op_apple_universal_v2.0.0.pkg
Success:
šŗ 1password-cli was successfully installed!
ā op --version
2.0.0
- Former Member
XIII Have you tried using
brew install --cask 1password/tap/1password-clihttps://developer.1password.com/docs/cli/get-started#install? I was doing a final test of yesterday and didn't run into any issues!