How To Write A Script That Sets Up Env. This article will show the proper way of setting the path environment variable in windows powershell. You’ll need to use sudo to edit this file:

Once your script is complete, prepare and bind it for presentation: $ mgenv.sh prod this would set environment variables for prod $ mgenv.sh test this would set. Now, go to the terminal and hit the following command.



