1Password on Mastodon

how to fix command not found: op in .zshenv

Community Member

op --version returns the version properly,

however when i add it in .zshenv
eval "$(op signin)"

it says command not found:op when i start terminal

1Password Version: Not Provided
Extension Version: 2.12.0
OS Version: macOS 13.0.1, M2 chip
Browser:_ CLI, zsh, iterm


  • Jack.P_1PJack.P_1P

    Team Member

    Hi @livytl:

    Are you running the eval "$(op signin)" command prior to a command that would add the op executable to your PATH environment variable? If that's the case, you'll need to re-arrange your .zshenv order to ensure that PATH contains op before trying to use the eval command. Let me know how you get on with that.


Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file