Create a directory for our app

Important!

It’s important that you select the intructions that match your operating system, because the instructions for Windows are a little different from those for OS X or Linux. On the top right corner of this screen there’s a dropdown from which you can select your operating system.

First, let’s open a terminal:

Search for Terminal on the dash and click Terminal.

Open Spotlight, type Terminal and click the Terminal application.

Click Start and look for Command Prompt, then click Command Prompt with Ruby and Rails.

If you're using Windows 8, where there is no Start button, you should click Win+R and type cmd. Or: click Win+X and choose Command Prompt.

A black window will open. This is called a Terminal, or Command Prompt.

Now type the following command in the terminal, and then hit Enter.

mkdir projects

This command will create a new directory on your computer named projects.

You can verify that a directory named projects was created by running the list command: ls. You should see the projects directory in the output, like this:

You can verify that a directory named projects was created by running the list command: dir. You should see the projects directory in the output.

Now you want to change the directory you are currently in to the projects folder by running:

cd projects

You can verify you are now in an empty directory or folder by again running the lsdir command again.

continue