Sitemap
Harpreet Brar

Harpreet Brar

Angular workspace set up for windows

2 min readJul 31, 2022
  1. Install node and npm from https://nodejs.org/en/ to install the latest (LTS) Long term support version.

If you are working for a company and joined recently , you may have to raise a access request ticket for node since you might not be having admin rights to install any software directly on your machine. The request need to have a correct version (generally a lower version than the latest version). Check with your team for the correct version so that no dependency issues come at a later stage while doing “npm install”. Also I would like to mention here that npm version also plays a pivotal role in running the angular application successfully in your local environment, so check the npm version compatible with your node version to have an effortless environment set up.

2. Install the code editor of your liking for example -

  • Atom
  • Visual studio code
  • Intellij
  • Webstorm

3. Install git from https://git-scm.com/download/win which is required for cloning the code from github/repo . Again, for a new joinee to a company a request ticket with a manager approval generally is required for getting the git access.

Get Harpreet Brar’s stories in your inbox

Join Medium for free to get updates from this writer.

4. Repo access like github is needed to get the code repo with a “contributor” access to clone, push your code and for the merge requests or work on the pull requests.

5. Last but not the least npm install -g @angular/cli or npm i -g @angular/cli

for installing angular globally in your machine.

To install a specific version as per company’s requirement, Use -

npm install -g @angular/cli@version_number

For example: npm install -g @angular/cli@14.1

Let me know how it goes or with any further questions..

--

--