shou2017.com
JP

Setting up a local Angular development environment

Fri Jul 22, 2022
Sat Aug 10, 2024

Angular v14.1 has been releasedใ€‚

Personally, I was really looking forward to the ability to run ng new without installing Angular CLI globally. This is a nice, subtle improvement. Previously, you could use npx to do this without a global install, but having it even simpler is great.

So, I tried it out right awayใ€‚

npm init @angular new-app

You might be asked about routing and other options, but just proceed and you’ll have your appใ€‚

new-app
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ angular.json
โ”œโ”€โ”€ karma.conf.js
โ”œโ”€โ”€ node_modules
โ”œโ”€โ”€ package-lock.json
โ”œโ”€โ”€ package.json
โ”œโ”€โ”€ src
โ”œโ”€โ”€ tsconfig.app.json
โ”œโ”€โ”€ tsconfig.json
โ””โ”€โ”€ tsconfig.spec.json

Nice! Convenient๏ผ

See Also