some useful command in Angular

Posted by

COMMANDDESCRIPTION
npm install -g @angular/cliinstall angular cli
versionOutputs Angular CLI version
node –versionversion to check node version
npm –versionto check npm version
ng –versionto check angular version
ng generate component filenameGenerates and/or modifies files based on a schematic
addAdds support for an external library to your project
ng cache clear ng cache
ng update [packages..]update cache
ng serveBuilds and serves your application, rebuilding on file change
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x