Lesson

What is the $PATH Variable?

The $PATH variable tells your terminal where to find the tools you have installed. The directories list in your $PATH will be used to determine which tool to use when you run commands in the terminal. Since developers often use different versions of the same...

Duration
4 min
Access
Pro
Transcript
Available

The $PATH variable tells your terminal where to find the tools you have installed. The directories list in your $PATH will be used to determine which tool to use when you run commands in the terminal. Since developers often use different versions of the same tool, it's very important to know exactly what your $PATH is doing.

This lesson walks through how the $PATH variable works and how updating the $PATH affects your development workflow.