Set Environment Variables

Learn how to set environment variables in Windows.

In Windows systems, we can use the set command to set environment variable. Windows doesn’t support setting environment variables inline, so we have to run these commands prior to running the API. Throughout the course, we’ll use the *nix syntax, but for the Windows users, it’s recommended to use the set command as the following code demonstrates.

Following are the set commands for Windows:

Get hands-on with 1200+ tech skills courses.