Signing back into the Community for the first time? You'll need to reset your password to access your account. Find out more.
Forum Discussion
anishlr
3 years agoNew Contributor
Is it possible for 1Password CLI running on WSL to connect with 1Password hosted on Windows?
Right now I can access 1Password on my WSL Debian installation using the CLI. But I have to enter my master password even when Windows is authenticated. I was just curious if it's possible to connect...
taggartmaher
10 months agoNew Contributor
I have a solution for Windows 11 WSL2!
Please let other people know if this solution does not work for you.
1. Open CMD and "winget install 1password-cli" or go to 1password docs and figure out how to install the WINDOWS version of 1password cli.
2. If you installed with winget, you should be able to navigate to "C:\Users<username>\AppData\Local\Microsoft\WinGet\Packages<1password_cli_package_id>\op.exe"
3. if you did not use winget, navigate to the executable of the cli program
4. add this to your ~/.bashrc file in wsl:
alias op="/mnt/c/Users/........./op.exe"
Magic!