From Mac Guides
mkdir is a Terminal command used to create directories.
Examples
To create a directory named "myfolder" in the current working directory:
mkdir myfolder
To create three folders named "folder1", "folder2" and "folder3":
mkdir folder1 folder2 folder3