freeCodeCamp/guide/english/miscellaneous/adding-envirioment-variable.../index.md

729 B

title
Adding Envirioment Variables in Windows

Via GUI

  1. Download Varpanel.
  2. Open Varpanel.
  3. In PATH variable, add the relevant path (for example).

Via Command Line

Refer to this answer on Super User.

If Using Node

Add the dotenv package to your application. You can then store your environment variables in a .env file. Be sure to remember to add *.env to your .gitignore file.