Windows: Set Pollen environment variable
#128
Closed
opened 3 years ago by oldmankit
·
2 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
In the pollen docs it shows how to set the
pollen
environment variable on the command line, like this:When I run that in Windows, it doesn't recognise the command
POLLEN
. Here's the error message:The term 'POLLEN=DEBUG' is not recognized as a name of a cmdlet, function, script file, or executable program.
I did a search but couldn't find any help on this one. Does anyone know how this is achieved in Windows?
I did try a few variations, like
raco pollen POLLEN=DEBUG render…
, to no avail.Apparently you should use something like
in cmd.exe. If using powershell, it would be another incantation (see https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_environment_variables?view=powershell-7.2, https://stackoverflow.com/questions/1420719/powershell-setting-an-environment-variable-for-a-single-command-only)
(I don't have a windows machine so I can't test it)
Thanks, @odanoburu.
To sum-up, for CMD it's
and for powershell it's