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

Former Member's avatar
Former Member
3 years ago

I installed via Brewfile with command: cask "1password/tap/1password-cli". No op in /usr/local/bin

I installed via Brewfile with command: cask "1password/tap/1password-cli". No op in /usr/local/bin

It was asking me for my sudo password. I do not have sudo. I then added
tap "1password/tap"
and it seemed to install.
Still nothing in /usr/local/bin/op

I did a
find / -name op 2>/dev/null
on the system.
No "op".


1Password Version: Not Provided
Extension Version: Not Provided
OS Version: macOS 12.6
Browser:_ Not Provided
Referrer: forum-search:op not in /usr/local/bin

  • Former Member's avatar
    Former Member

    I would like to install op in ~/bin. However, we want to brew cask install this. Is this possible?

  • zcutlip's avatar
    zcutlip
    Occasional Contributor

    You can always copy op wherever you want after installing. For example, I keep an archive of old versions for compatibility testing with. However, if you do, you won't be able to use TouchID. There's a component of 1Password.app that needs op to be at a particular path, and it has a specific entitlement that gives it permission to access it there:

    console
    codesign -d --entitlements - /Applications/1Password.app/Contents/Library/LoginItems/1Password\ Browser\ Helper.app
    Executable=/Applications/1Password.app/Contents/Library/LoginItems/1Password Browser Helper.app/Contents/MacOS/1Password Browser Helper
    [Dict]
    [Key] com.apple.security.app-sandbox
    [Value]
    [Bool] true
    [Key] com.apple.security.application-groups
    [Value]
    [Array]
    [String] 2BUA8C4S2C.com.1password
    [Key] com.apple.security.temporary-exception.files.absolute-path.read-only
    [Value]
    [Array]
    [String] /usr/local/bin/op

  • zcutlip's avatar
    zcutlip
    Occasional Contributor

    Ah upon a closer read, I see your original problem. You do have to use 'sudo' to install it with homebrew, I'm pretty sure. I'm not sure why it didn't error or otherwise communicate that if failed to install.

  • andi_t_1P's avatar
    andi_t_1P
    Icon for 1Password Team rank1Password Team

    Yes, zcutlip appears to be right, you should sudo install it.

    @sanctior let me know how that works,
    Andi