How to Install Angular JS on Ubuntu 14.04

Last modified
Friday, February 10, 2017 - 22:45

Angular JS is one of the most popular and robust Frameworks available today to build SPA, Single Page Apps.

Here's a quick tutorial on how to quick install it on Ubuntu 14.04.

Get the latest nodejs and npm packages:

$sudo add-apt-repository ppa:chris-lea/node.js
$sudo apt-get update

Install node.js and its package manager npm:

$sudo apt-get install nodejs

Now, let's install Yeoman angular generator, which is a nice angular project generator, it will handle you project packages, as well as create the initial project structure, folders etc.
Visit the project page for more reference and documentation:

$sudo npm install -g generator-angular

Now that the generator is installed, we can start creating the structure for our angular.js app. Create a directory and create the app as following:

$mkdir webapp
$cd webapp/
$yo angular [app-name] --> running this command will generate the angular structure using Yeoman

Voila! now you can get started building awesome Angular Js apps on your Ubuntu system.


Add new comment

This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.