angularjs vs angular cli code example Example: angular cli /* @latest is optional */ npm install -g @angular/cli@latest