When using a computer, most people are familiar with a graphical interface to do their work with. Most operating systems give you the ability to drag and drop folders, create new files, install programs with easy buttons to press that provide you with nice pop-up responses and so on.
The Command Line (also know as the terminal) is simply a text-based computer experience.
Now this may be less exciting for users, however, it also means you have many more commands available to you. In fact, you have every command available to you that a computer understands.
On a Mac, the Command Line is named “Terminal”. So just do a Spotlight search for “Terminal” and it will be the first application listed.
For Windows, we run Git Bash as an Administrator.
To do this, click the “Start” button and search for “Git Bash”. Then right-click on “Git Bash” and hit “Run as administrator”.
This command stands for “list” and it lists all the files of the current folder you’re in.
This command stands for “change directory” and it will change the current folder you’re in to wherever you tell it.
will take you to the Desktop if you are on a Mac.
For Windows users, just type:
Now you can type:
to see a list of items on your desktop!
Most of the commands we’ll be using involve using the Moovweb SDK.
We recommend using Git for version control.
Git is basically a way of saving your work at different points in time so you never lose the code you’ve written and can always jump around between different versions of your project!
Git can be run from the command line, but there are also a number of visual tools for Windows, Mac, and Linux. For basic Git project management, any of them should work well.
Check out some useful Git commands you’ll be using here.