1password CLI changed their schema significantly between v1 and v2.
This can cause a lot of scripts to break.
The official upgrade guide actually recommend running them in parallel.
https://developer.1password.com/docs/cli/upgrade
This gist conveniently
- Install v2 as op2
- Install v1 as op and op1