Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
Former Member
4 years ago[16,17,20,37,38] Support for both versions in scripts
Hi,
Initial impression of the new version is great! The UI with grouping by category makes sense.
And I can't wait for the TouchID support. :)
Unfortunately the changed UI also breaks all exi...
1P_Simon
1Password Team
4 years agoLove it!
You could even print a suggestion on stderr helping your colleagues remind to upgrade:
```bash
OP_VERSION="$(op --version)"
if [[ "$OP_VERSION" == 1.* ]]; then
{
echo We're migrating to 1Password CLI 2.0. Please upgrade your installation:
echo " https://developer.1password.com/docs/cli/upgrade"
} >&2
op get item ...
else
op item get ...
fi
```