Typescript download
- First, download and install Node.js. (Must install into C Drive)
- To check the installation, use the following commands:
- ==
node -v
== (nvm install 22.13.1
andnvm use 22.13.1
) npm -v
(This is a library of node. It download auto with node installation but if need latest versionnpm install -g npm@latest
. Running Node.jsv22.13.1
on npm version10.9.0
)
- ==
- To check the TypeScript version:
tsc -v
(install TypeScript globally ==npm install -g typescript
== or,npm install -g typescript@5.7.3
) - Download the ESLint extension in VS Code.
- Finally, check ==
tsc -v
== after the installation.
Angular Download
- First, download and install Node.js.
- Install Angular CLI globally using the command:
==npm install -g @angular/cli
== or,npm install -g @angular/cli@17.3.11
- To check the Angular version, use the command:
==ng v
==
(Pressy
when prompted for the first time.) - Use
npm list -g
to check both Angular and TypeScript versions at the same time.
How to Uninstall Node, TypeScript, and Angular
- Uninstall TypeScript (After reinstalling, this TS update version will be automatically downloaded for Node.js.):
npm uninstall -g typescript
- Uninstall Angular CLI (After reinstalling, this Angular CLI update version will be automatically downloaded for Node.js.): `npm uninstall -g @angular/cli
- Uninstall Node.js: (If you uninstall Node first, then uninstalling TypeScript and Angular will not work)
- If installed via NVM (Node Version Manager): Run the following command to uninstall
nvm uninstall <version>
- If installed via the installer (exe): Use a program like Revo Uninstaller to remove it.
- If installed via NVM (Node Version Manager): Run the following command to uninstall
Additional Information
Info
- Angular Versions Guide](https://v17.angular.io/guide/versions)
- If you want to use multiple versions of Node.js on the same computer, you can download an open-source tool called
nvm
(Node Version Manager). Don’t confuse about npm and nvm.