1
00:00:00,180 --> 00:00:05,150
Once we're familiar with Noad, package manager, let's see how we can start using it in our own project.

2
00:00:05,670 --> 00:00:11,690
And the good news is that it's much simpler than you would expect to see one reinstall node.

3
00:00:11,880 --> 00:00:19,500
We also install NPM and because of that, we have access to NPM Global Command and you can check the

4
00:00:19,500 --> 00:00:24,650
NPM version by running NPM Bardash version in your terminal.

5
00:00:24,900 --> 00:00:30,660
Just keep in mind that the version most likely won't be the same as your notes version, and that is

6
00:00:30,660 --> 00:00:31,640
totally OK.

7
00:00:31,980 --> 00:00:39,180
So you can either do that in the terminal or of course in the integrated terminal and you can simply

8
00:00:39,180 --> 00:00:41,990
type NPM line hyphen hyphen version.

9
00:00:42,210 --> 00:00:50,040
I believe you can also check by hyphen hyphen V and there is of course now we have the version for our

10
00:00:50,190 --> 00:00:57,840
node package manager and then we have to flavour's, we can install package as a local dependency and

11
00:00:57,840 --> 00:01:04,470
that just means that we'll only use that package in this particular project that we're working on.

12
00:01:04,709 --> 00:01:12,630
And the command for that one would be NPM install or I for short and then whatever is the package name.

13
00:01:13,080 --> 00:01:20,640
So whether that is Bootstrap, Lodish, Express or whatever, or we can install dependency as a global

14
00:01:20,640 --> 00:01:26,810
dependency and that just means that we can use it in any project and command for that one would be again

15
00:01:26,830 --> 00:01:33,700
10 p.m. I or install whichever method you prefer and then hyphen G.

16
00:01:33,900 --> 00:01:37,430
So this is going to be the flag and then again, the package name.

17
00:01:37,770 --> 00:01:43,470
Now when you install something globally, most likely on a Mac, they will ask you for the shuto.

18
00:01:43,680 --> 00:01:45,720
So you'll have to provide credentials.

19
00:01:45,960 --> 00:01:54,420
That's why you'll run pseudo npm install and then hyphenation and again, package your name as far as

20
00:01:54,420 --> 00:01:55,780
which one you will use more often.

21
00:01:55,800 --> 00:02:02,760
That definitely will be a local dependency flavor because even though, yes, you can install packages

22
00:02:02,760 --> 00:02:12,450
globally with arrival off and there's actually less and less need for setting up something globally,

23
00:02:12,690 --> 00:02:19,260
that's what I will focus on local dependencies first, how to set it up in our project, and then in

24
00:02:19,260 --> 00:02:27,210
a few videos when we talk about and I'll cover why there's less need for setting up something globally.

25
00:02:27,480 --> 00:02:32,430
Now, that is one more thing that we would need to set up in our project as far as dependencies.

26
00:02:32,430 --> 00:02:39,940
So I know I know you're eager to start installing the packages, but let's just wait a little bit and

27
00:02:39,960 --> 00:02:44,490
the next video will add that extra thing that we're missing right now.

28
00:02:44,670 --> 00:02:49,680
And then we'll be in good shape and then we'll start installing every package under the sun.

