Search code examples
insomnia

Insomnia: how do I reference a windows environment variable in Insomnia?


I want to use a windows environment variable in Insomnia. There is an option to read OS properties, which I thought would allow me to use windows env variables but it's not obvious how. In the below I am trying to add "testWE" and I am trying using OS/userInfo.

enter image description here

Another option is to use a custom function but again I am not familiar with this syntax

enter image description here

Any idea on how to do this?


Solution

  • Try the insomnia-plugin-system-env plugin.

    Example:

    screenshot of insomnia using insomnia-plugin-system-env