How can I get and change environment variables' value in Windows Powershell #9475
-
Discussed in#9473Originally posted byxiaolinggnbAugust 16, 2024 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Onmac/linux,you can generally set environment variables on your machine using export<VARIABLE>=<VALUE> This will only add the variable for the current shell session, though. If you'd like the variable to be more permanent, you should add it to your Here's someMicrosoft documentationabout managing environment variables on Windows, if that's the environment you are using. |
Beta Was this translation helpful? Give feedback.
As far as I know, it shouldn't be initialized to anything unless you set it.
GH_PATH
isn't required for the CLI to work formostinstallations.