From the course: Angular: Testing and Debugging

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Installing project dependencies

Installing project dependencies - Angular Tutorial

From the course: Angular: Testing and Debugging

Start my 1-month free trial

Installing project dependencies

- [Instructor] Angular projects use npm to manage dependencies. We need to install these dependencies, sometimes called packages, to write our code and compile our app. Npm is an amazing tool and I highly recommend you read the official documentation to learn more about the community and all the cool things you can do with the tool itself. I opened our project here in Visual Studio Code. I like VS code because it makes working with TypeScript very easy, but you can use any code editor you like. VS Code has a built-in terminal, which we'll need to install the dependencies. I'll go up to the Terminal menu. Click on New Terminal. Let me make that a little bigger so we can see. And the first thing I want to do is make sure we have npm installed on the machine. I do that using the version command. So I'll type npm --version and hit Enter. I have version 6.14.11 installed on my machine. Your version might be newer. That's okay. Use what you have. You'll get an error from this command if you…

Contents