How To Install Angular In Ubuntu

sudo apt updatesudo apt install nodejs
sudo node --versionsudo npm --version
npm install -g @angular/cli
npm install -g @angular/cli@11        #Angular 11
npm install -g @angular/cli@12 #Angular 12
sudo ng --version
ng new angular-project
cd angular-project
ng serve --open
ng serve --host 0.0.0.0 --port 8080

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Websolutionstuff

Websolutionstuff

96 Followers

I am Laravel and PHP Developer. I have also Good Knowledge of JavaScript, jQuery, Bootstrap and REST API.