It’s Cybersecurity Awareness Month! Join our interactive training session, or learn about security and AI from 1Password experts.
Forum Discussion
Former Member
3 years agoUsing 1password vscode extension with the cli
The https://developer.1password.com/docs/vscode for the VSCode extension says to use the CLI version 2.4.0 or later but when running op update I'm getting this as the response:
```
1Password co...
Former Member
3 years agoHey @Fabian9799, thanks for your question. The error you're seeing is seeing is due to a change made in v2.6.2 of the CLI relating to how it handled piped input, which fixed a longstanding issue when using the CLI in scripts. As a result, though, it introduced a separate issue that impacts how the the extension uses the inject
command, which we were able to https://github.com/1Password/op-js/blob/main/src/cli.ts#L196-L214, but not Windows just yet. I don't have a timeline to share, but it's on the team's radar to get fixed. In the meantime, you could downgrade to a version https://app-updates.agilebits.com/product_history/CLI2#v2060102, but you might encounter issues with creating items via the extension. Apologies for the inconvenience, we hope to have it fixed soon!