How to Create a Folder/Directory With the Mac Terminal

To create a folder on your Mac computer via your Terminal’s command line, you open your Terminal, and navigate to the directory where you want to create a folder, and run this command:

mkdir name-of-your-folder

The mkdir command is a shortcut for “make directory”.

Quick demo

Here’s a short video showing me creating a folder via my Mac Terminal, entering it, and then creating another folder inside it:


Has this been helpful to you?

You can support my work by sharing this article with others, or perhaps buy me a cup of coffee 😊

Kofi

Share & Discuss on