Forum Discussion
taggartmaher
2 years 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!