Path

The address of a file: every folder you pass through, in order, ending with the file name.

Think of it as A postal address for a file.

Windows paths start at a drive letter and use backslashes, such as C:\Users\you\Code. macOS and Linux paths start at / and use forward slashes. A path is either absolute (from the top) or relative (from where you are).

Where the picture breaks

The post office forgives capital letters, but some computers, including the Linux machines CI runs on, do not, so config.luau and Config.luau can be two different files.

A path is an exact string the operating system looks up one folder at a time. Whether capital letters matter depends on the file system, so copy file names exactly.

See it with the rest of the analogy cast

Related terms