I first tried to install 1Password with winget:
winget install 1password-cli
But I get:
The `msstore` source requires that you view the following agreements before using.
Terms of Transaction: https://aka.ms/microsoft-store-terms-of-transaction
The source requires the current machine's 2-letter geographic region to be sent to the backend
service to function properly (ex. "US").
Do you agree to all the source agreements terms?
[Y] Yes [N] No: y
Failed when searching source: winget
An unexpected error occurred while executing the command:
0x8a15000f : Data required by the source is missing
No packages were found among the working sources.
App installer is installed in the Windows Store.
Next I tried downloaded 1Password CLI from https://app-updates.agilebits.com/product_history/CLI , which worked, but the instructions at https://developer.1password.com/docs/cli/get-started/ state I can issue you any command and get a popup to login to 1Password. Except when I do for example:
.op vault list
I get:
.op : No accounts configured for use with 1Password CLI.
At line:1 char:1
+ .op.exe vault list
+ ~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (No accounts con... 1Password CLI.:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
You can either:
- Turn on the 1Password desktop app integration to sign in with the accounts you've added to the app: https://developer.1password.com/docs/cli/app-integration/ for details.
- Add an account manually with 'op account add' and sign in by entering your password on the command line. See 'op account add --help' for details.
- Authenticate using a 1Password service account by setting the 'OP_SERVICE_ACCOUNT_TOKEN' environment variable to your service account token. Learn more: https://developer.1password.com/docs/service-accounts/
- Use 1Password CLI with a Connect server by setting the 'OP_CONNECT_HOST' and 'OP_CONNECT_TOKEN' environment variables to your Connect host and token, respectively. Learn more: https://developer.1password.com/docs/connect/
What am I missing?