PATH Variable (Mac)

Published: 20 May 2022
on channel: Susan B.
18,731
383

When you run a command for a program in command line, it looks for the corresponding executable files using the directories listed in your computer or server’s PATH variable. The PATH variable is one of many Environment Variables your system uses.

Given this, when you add a new command line program to your computer, you have to add its directory to your PATH variable.

In the following instructions, I will demonstrate this process by adding the PHP executable that comes with XAMPP to my PATH, but the steps would be the same for whatever program you’re trying to configure.

NOTES: https://codewithsusan.com/notes/path-...

=== CHAPTERS ===
00:00 Introduction
00:40 See current contents of the PATH variable
01:17 Adding a new path
02:44 Test it worked


On this page of the site you can watch the video online PATH Variable (Mac) with a duration of hours minute second in good quality, which was uploaded by the user Susan B. 20 May 2022, share the link with friends and acquaintances, this video has already been watched 18,731 times on youtube and it was liked by 383 viewers. Enjoy your viewing!