So when it comes to talking about shells in macOS, you’re talking about the program that interprets the commands entered into the terminal. They’re popular especially in *nix-based operating systems, through Windows has it, too (if you ever used MS-DOS or the Command Prompt then you know what I mean).įor this post, I’m primarily talking about *nix-based systems and, even more specifically, macOS. Which means that you should do something like the following: export PATH='$PATH:$HOME/.composer/vendor/bin'īut if you’re new to working in the terminal, let alone environmental variables, how are you supposed to know how to translate the statement into the above command?īefore getting into what a shell is, it’s important to note that the terminal is basically the way to access the file system through a series of commands and text-based programs. composer /vendor /bin directory is in your system’s “PATH”. In fact, you may see a directive like this: More specifically, it probably included an export statement, a directory, and then a file into which to pipe the command, right? If you’ve read any instructions on the web for how to install something, you’ve likely read a statement about adding something to your $PATH.