Forum Discussion

Former Member's avatar
Former Member
3 years ago

how to fix command not found: op in .zshenv

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

1 Reply

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

    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.

    Jack