Environment Variables and `PATH`

Environment variables are settings Windows hands to every program, read and set in PowerShell with $env:, and PATH is the one that lists the folders searched for a command, which is why a program outside them is not recognized until you run it by its path or add its folder for this session.

Updated

Cheat sheet for the lesson Environment Variables and `PATH`: Environment variables are settings Windows hands to every program, read and set in PowerShell with $env:, and PATH is the one that lists the folders searched for a command, which is why a program outside them is not recognized until you…
Category
PowerShell
Level
Apprentice
Tags
env, environment-variable, path, powershell