1
00:00:00,150 --> 00:00:08,050
In this video, we are going to run Node Command in our local computer to see how Node.js works.

2
00:00:08,070 --> 00:00:11,280
So in order to do that, please open a terminal.

3
00:00:11,280 --> 00:00:16,140
We can open a Windows terminal or any terminal on your local computer.

4
00:00:16,170 --> 00:00:19,480
So basically we will run the command, which is the node.

5
00:00:19,500 --> 00:00:24,870
So if you hit the enter, this will be a starter Node.js application or your command window.

6
00:00:24,900 --> 00:00:35,100
So we can use the commands like console that lock and specifying the information, for example, example.

7
00:00:36,630 --> 00:00:37,400
Delivered.

8
00:00:38,620 --> 00:00:39,230
He didn't.

9
00:00:40,180 --> 00:00:47,380
So as you can see that when we running the console.log method, this is basically an output of the message

10
00:00:47,380 --> 00:00:49,650
into the log information.

11
00:00:49,660 --> 00:00:56,180
So that means we can run the Node.js command with using the node command into the our terminal.

12
00:00:56,200 --> 00:01:02,440
So this is how we can use Node.js command node command into the Node.js examples.

13
00:01:02,620 --> 00:01:08,140
So we can also test this node command into our Visual Studio code environment.

14
00:01:08,140 --> 00:01:17,710
Please open the Visual Studio code and go to the Section 18 and create new lecture for 150.

15
00:01:17,800 --> 00:01:23,680
And now in this lecture, I'm going to create an index JS index that JS file.

16
00:01:23,950 --> 00:01:32,170
So is the same way I'm going to directly develop console.log operation with providing the text message.

17
00:01:32,170 --> 00:01:34,550
So save this index JS file.

18
00:01:34,570 --> 00:01:37,420
So how to execute this index JS file.

19
00:01:37,450 --> 00:01:41,050
We will run this code with the node command for that purpose.

20
00:01:41,050 --> 00:01:44,080
Open the terminal and.

21
00:01:45,950 --> 00:01:50,870
Go to the quiet section and the lecture folder.

22
00:01:52,380 --> 00:01:55,440
Now we are in the same folder into the index case.

23
00:01:55,470 --> 00:02:01,170
Now, since we have installed Node.js application, we can run the node commands.

24
00:02:01,170 --> 00:02:02,430
We can run the node.

25
00:02:03,190 --> 00:02:09,700
And empty character and we can run the index, which is the name of the JavaScript file.

26
00:02:09,820 --> 00:02:14,970
If you hit the enter is you can see that this is return back to message from us.

27
00:02:14,980 --> 00:02:20,410
So that means we have successfully run this index command in the node environment.

28
00:02:20,560 --> 00:02:23,950
So we have executed the index JS file with the non command.

29
00:02:23,980 --> 00:02:27,370
During the course we will test our codes with this way.

30
00:02:27,400 --> 00:02:32,410
Before deploying in code, we will test in our local computer with the node command.
