Before you begin using Node, you need to know a few things about the command line.
Don’t worry, you don’t need to know a lot. Everything you need to know will be taught in this course.
Opening the Command Line
Mac Users
Mac users can use the Terminal app that’s built into the system. Simply fire up the Terminal app and you’re ready to proceed to the next section.
Alternatively, you can use iTerm2 (free) which is preferred by many developers over the default Terminal app.
Windows Users
Windows users can use Powershell or Windows Subsystem Linux (WSL). If you use Powershell, note that it uses a different syntax even though the commands are the same.
If you’re completely new to the command line, I recommend using a console emulator like Cmder. This makes things much easier to set up.
You can proceed to the next section once you have enabled your command line environment, whether it’s Powershell, WSL, or Cmder.
Commands to know
As a beginner, you need to know 6 commands:
pwd— tells you your current directory.cd— change directoryls— list filesmkdir— make a directorytouch— make fileclear— clear the command line
You can find detailed explanations of each of these commands here.
Welcome! Unfortunately, you don’t have access to this lesson. To get access, please purchase the course or enroll in Magical Dev School.
Unlock this lesson