Last active
May 7, 2021 05:28
-
-
Save arkumish/7d3bd25586f9fac24d4428c50c2d2873 to your computer and use it in GitHub Desktop.
Environment variable in WINDOWS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To Change "Enviroment variable" in Windows, | |
if number | |
In Command Prompt: set PORT=5000 | |
In Power Shell: $env:PORT=5000 | |
if string | |
In Command Prompt: set NODE_ENV=prod | |
In Power Shell: $env:NODE_ENV='prod' | |
---------------------------------------------------- | |
To check "Environment variable" in Windows | |
In Command Prompt: echo %PORT% | |
In Power Shell: $env:PORT | |
---------------------------------- | |
for vs code deafult terminal use power shell command |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment