DEV Community

Dênis Mendes
Dênis Mendes

Posted on

Set environment variable in Powershell on Windows

$env:YOUR_ENV_VAR="YOUR_VAR_VALUE"

That's it.

Top comments (0)

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay