Test it for yourself.
Set Keyboard Maestro variable “ENVPATH” to:
From an Execute a Shell Script action, and display the result in a window.
In case you were on pins and needles about this the answer is – it does NOT work.
The correct syntax is: ENV_PATH.
The troubleshooting page SOURCE is correct:
“As of Keyboard Maestro 7, you can set your PATH and other environment variables (such as PERL5LIB) using the Keyboard Maestro variable ENV_PATH (or ENV_PERL5LIB or whatever).”
But the wiki is rendering the text between the underscores as italic.
I have fixed this on the troubleshooting page.