<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>angularcli Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/angularcli/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Mon, 22 Jun 2020 15:03:03 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How to install Angular on Ubuntu 20.04 / Debian 10?</title>
		<link>https://www.osradar.com/install-angular-ubuntu-20-04-debian-10/</link>
					<comments>https://www.osradar.com/install-angular-ubuntu-20-04-debian-10/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Mon, 22 Jun 2020 23:12:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[angular]]></category>
		<category><![CDATA[angularcli]]></category>
		<category><![CDATA[Buster]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=17445</guid>

					<description><![CDATA[<p>In this post, I will show you how to install Angular on Ubuntu 20.04 / Debian 10. Angular: a command-line interface for Angular Angular is a Javascript framework for creating the front end side using the MVC pattern. It was created in 2009 by Google and is becoming more and more popular. Thanks to Angular [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-angular-ubuntu-20-04-debian-10/">How to install Angular on Ubuntu 20.04 / Debian 10?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p><strong>In this post, I will show you how to install Angular on Ubuntu 20.04 / Debian 10.</strong></p>



<h2>Angular: a command-line interface for Angular</h2>



<p><a href="https://angular.io/">Angular</a> is a Javascript framework for creating the front end side using the MVC  pattern. It was created in 2009 by Google and is becoming more and more popular. Thanks to Angular we will be able to speed up the work from the front end using a lot of Javascript functionalities perfectly organized. Its methodology is the SPA, i.e. single page application.</p>



<p>On the other hand, Angular is being widely used in a new stack called MEAN (<a href="https://www.osradar.com/how-to-install-mongodb-on-ubuntu-18-04/">MongoDB</a>, ExpressJS, Angular and <a href="https://www.osradar.com/how-to-install-nodejs-on-ubuntu-18-04-lts-linux-mint-19/">NodeJS</a>) where you can create other types of web applications.</p>



<p>In order to have a tool to manage Angular better, it is that <a href="https://cli.angular.io/">AngularCLI</a> arises. Angular is a command-line interface for Angular, with it, we can create an application that already works, right out of the box.</p>



<p>So, if you use Angular or you want to learn about it, you have to install Angular.</p>



<h2>Install Angular on Ubuntu 20.04 / Debian 10</h2>



<p>AngularCLI requires for its operation that the system has NodeJS installed. So the first step is to install it. I recommend you to read our post about it:</p>



<p><a rel="noreferrer noopener" aria-label="How to install NodeJS on Debian 10? (opens in a new tab)" href="https://www.osradar.com/two-ways-to-install-nodejs-debian-10-buster/" target="_blank">How to install NodeJS on Debian 10?</a></p>



<p><a href="https://www.osradar.com/how-to-install-node-js-on-ubuntu-20-04/" target="_blank" rel="noreferrer noopener">How to install NodeJS on Ubuntu 20.04?</a></p>



<p>After it is correctly installed, we can install it using npm. So, you have to install it too.</p>



<pre class="wp-block-preformatted">:~$ sudo apt install npm</pre>



<p>To do so, just use the following command:</p>



<pre class="wp-block-preformatted">:~$ sudo npm install -g @angular/cli</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="743" height="216" src="https://www.osradar.com/wp-content/uploads/2019/12/1-19.png" alt="1.- Install Angular on Ubuntu 20.04 / Debian 10" class="wp-image-17448" srcset="https://www.osradar.com/wp-content/uploads/2019/12/1-19.png 743w, https://www.osradar.com/wp-content/uploads/2019/12/1-19-300x87.png 300w, https://www.osradar.com/wp-content/uploads/2019/12/1-19-696x202.png 696w, https://www.osradar.com/wp-content/uploads/2019/12/1-19-741x216.png 741w" sizes="(max-width: 743px) 100vw, 743px" /><figcaption>1.- Install Angular on Ubuntu 20.04 / Debian 10</figcaption></figure>



<p>Then, create a new project using this tool:</p>



<pre class="wp-block-preformatted">:~$ ng new example-project</pre>



<p>Now, you  have to choose the slytesheet format.</p>



<p>This will create a new folder called example-project. Of course, you can change the name of the project.  Access it and serve the project. </p>



<pre class="wp-block-preformatted">:~$ cd example-project 
:~$ ng serve </pre>



<p>This will make the application available at <code>http://localhost:4200</code>. Remember that this port has to be available in the firewall.</p>



<p>However, we can change those parameters and specify a port and a host. </p>



<pre class="wp-block-preformatted">:~$ ng serve --host [host_ip] --port [port]</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="297" src="https://www.osradar.com/wp-content/uploads/2019/12/2-17-1024x297.png" alt="2.- Running an Angular Aplication" class="wp-image-17449" srcset="https://www.osradar.com/wp-content/uploads/2019/12/2-17-1024x297.png 1024w, https://www.osradar.com/wp-content/uploads/2019/12/2-17-300x87.png 300w, https://www.osradar.com/wp-content/uploads/2019/12/2-17-768x222.png 768w, https://www.osradar.com/wp-content/uploads/2019/12/2-17-696x202.png 696w, https://www.osradar.com/wp-content/uploads/2019/12/2-17-1068x309.png 1068w, https://www.osradar.com/wp-content/uploads/2019/12/2-17.png 1184w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>2.- Running an Angular Application</figcaption></figure>



<p>When you open the browser and access your project, you will see the following:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2019/12/3-17-1024x506.png" alt="3.- Project running" class="wp-image-17450" srcset="https://www.osradar.com/wp-content/uploads/2019/12/3-17-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2019/12/3-17-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2019/12/3-17-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2019/12/3-17-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/12/3-17-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2019/12/3-17-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2019/12/3-17-850x420.png 850w, https://www.osradar.com/wp-content/uploads/2019/12/3-17.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>3.- Project running</figcaption></figure>



<p>So, Angular is ready to be used.</p>



<h2>Conclusion</h2>



<p>Developers need tools to help speed up projects. Well, with Angular we will have a terminal interface to manage this fantastic framework.</p>



<p>Please share this post and join <a href="https://t.me/osradar" target="_blank" rel="noreferrer noopener" aria-label="our Telegram channel. (opens in a new tab)">our Telegram channel.</a></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-angular-ubuntu-20-04-debian-10/">How to install Angular on Ubuntu 20.04 / Debian 10?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-angular-ubuntu-20-04-debian-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Angular on Windows 10.</title>
		<link>https://www.osradar.com/how-to-install-angular-on-windows-10/</link>
					<comments>https://www.osradar.com/how-to-install-angular-on-windows-10/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Wed, 22 Jan 2020 22:08:01 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[angular]]></category>
		<category><![CDATA[angularcli]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[Windows 10]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=17699</guid>

					<description><![CDATA[<p>Hi, how are you? This time we&#8217;ll talk a little bit about Angular. This is a JavaScript development framework created by Google. In addition, it is developed in TypeScript and is open source. Its goal is to enhance browser-based applications with Model View Controller (MVC) capability. Consequently, it makes development and testing easier. On the [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-angular-on-windows-10/">How to install Angular on Windows 10.</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hi, how are you? This time we&#8217;ll talk a little bit about <a rel="noreferrer noopener" aria-label="Angular (opens in a new tab)" href="https://angular.io/" target="_blank">Angular</a>. This is a JavaScript development framework created by Google. In addition, it is developed in TypeScript and is open source.  Its goal is to enhance browser-based applications with Model View Controller (MVC) capability. Consequently, it makes development and testing easier. On the other hand, it aims to facilitate the development of SPA web applications. It also provides tools to work with the elements of a web in a simpler and more optimal way. Well, in this post we will see how to install Angular on Windows 10.</p>



<h2>Prerequisites.</h2>



<p>Angular is installed by means of NPM. This is the Node.js package manager. Therefore, it is imperative to have Node.js installed, please review this <a rel="noreferrer noopener" aria-label="tutorial. (opens in a new tab)" href="https://www.osradar.com/how-to-install-node-js-on-windows-10/" target="_blank">tutorial.</a> On the other hand, an editor is needed. In this case, we will use Visual Code. To know how to install it, please check this <a href="https://www.osradar.com/how-to-install-and-configure-visual-studio-code-in-windows-10/" target="_blank" rel="noreferrer noopener" aria-label="article (opens in a new tab)">article</a>.</p>



<h2>Installing NPM</h2>



<p>As mentioned above, it is necessary to install NPM. With this intention, please open a CMD as administrator and run the following command:</p>



<pre class="wp-block-preformatted"> npm install -g npm </pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/01/angular.jpg" alt="Installing NPM" class="wp-image-17749" srcset="https://www.osradar.com/wp-content/uploads/2020/01/angular.jpg 1024w, https://www.osradar.com/wp-content/uploads/2020/01/angular-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/01/angular-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2020/01/angular-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2020/01/angular-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2020/01/angular-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption> Installing NPM </figcaption></figure>



<p>This will install the package manager in Javascript. Also, with the syntax used, the installation was done on the whole computer. In other words, the manager can be run from any console.</p>



<h2>Installing Angular</h2>



<p>Once NPM is installed, all that remains is to install Angular. With this in mind, from a CMD with administrative privileges, run this command:</p>



<pre class="wp-block-preformatted"> npm install -g @angular/cli </pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/01/angular2.jpg" alt="Installing Angular" class="wp-image-17750" srcset="https://www.osradar.com/wp-content/uploads/2020/01/angular2.jpg 1024w, https://www.osradar.com/wp-content/uploads/2020/01/angular2-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/01/angular2-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2020/01/angular2-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2020/01/angular2-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2020/01/angular2-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption> Installing Angular </figcaption></figure>



<h2>Create a folder to save your projects.</h2>



<p>The next step is to create a new folder, to save the projects. This folder can be created in any location. You can also assign any name to it. In this case, I will create the folder with the name <em>myprojects</em> in the documents folder.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/01/angular3.jpg" alt="Create a folder for your projects" class="wp-image-17752" srcset="https://www.osradar.com/wp-content/uploads/2020/01/angular3.jpg 1024w, https://www.osradar.com/wp-content/uploads/2020/01/angular3-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/01/angular3-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2020/01/angular3-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2020/01/angular3-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2020/01/angular3-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Create a folder for your projects</figcaption></figure>



<h2>Creating a new project with Angular.</h2>



<p>After installing Angular and creating the new folder, it is time to create the first project. With this in mind open a Command Prompt as an administrator. Then copy the folder location. In this case, go to that address using the <strong>cd</strong> command:</p>



<pre class="wp-block-preformatted">cd C:\Users\coolr\Documents\myprojects</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/01/angular4-1.jpg" alt="Got to the protect folder" class="wp-image-17764" srcset="https://www.osradar.com/wp-content/uploads/2020/01/angular4-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2020/01/angular4-1-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/01/angular4-1-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2020/01/angular4-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2020/01/angular4-1-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2020/01/angular4-1-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Got to the protect folder</figcaption></figure>



<p>Then run the command ng new, accompanied by the name assigned to the project. In this case, I will use the name <strong>osradar</strong>. The final result will be like this:</p>



<pre class="wp-block-preformatted"> ng new osradar</pre>



<p>Press Enter and the installation will begin. Immediately the wizard will ask if you want to add the path. This is especially useful for running the app from any CMD. Next, you will be asked for the stylesheet. If you are not sure, leave the default option: CSS</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/01/angular5.jpg" alt="Creating the first project in Angular" class="wp-image-17761" srcset="https://www.osradar.com/wp-content/uploads/2020/01/angular5.jpg 1024w, https://www.osradar.com/wp-content/uploads/2020/01/angular5-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/01/angular5-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2020/01/angular5-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2020/01/angular5-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2020/01/angular5-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Creating the first project in Angular</figcaption></figure>



<p>Once the new project is created, please open the folder. Then, right-click on any blank space and select the option <strong>Open with Code</strong>.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/01/angular6-1.jpg" alt="Editing the project" class="wp-image-17782" srcset="https://www.osradar.com/wp-content/uploads/2020/01/angular6-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2020/01/angular6-1-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/01/angular6-1-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2020/01/angular6-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2020/01/angular6-1-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2020/01/angular6-1-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption> <em>Editing the project</em> </figcaption></figure>



<p>After launching Visual Code, you can start editing the project. With this in mind, you can click on any element in the left column of the program.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/01/angular7.jpg" alt="Editing the project with Visual Code " class="wp-image-17769" srcset="https://www.osradar.com/wp-content/uploads/2020/01/angular7.jpg 1024w, https://www.osradar.com/wp-content/uploads/2020/01/angular7-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/01/angular7-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2020/01/angular7-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2020/01/angular7-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2020/01/angular7-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Editing the project with Visual Code </figcaption></figure>



<h2>Launching the server.</h2>



<p>Finally, we will start the server with the project. At the end of the day, this is the most interesting thing about how to install Angular on Windows 10. To do this, please open a CMD as administrator from the location of the created project. Forthwith, run the following command:</p>



<pre class="wp-block-preformatted">ng serve</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="984" height="516" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/01/angular8-1.jpg" alt="Launch the server" class="wp-image-17771" srcset="https://www.osradar.com/wp-content/uploads/2020/01/angular8-1.jpg 984w, https://www.osradar.com/wp-content/uploads/2020/01/angular8-1-300x157.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/01/angular8-1-768x403.jpg 768w, https://www.osradar.com/wp-content/uploads/2020/01/angular8-1-696x365.jpg 696w, https://www.osradar.com/wp-content/uploads/2020/01/angular8-1-801x420.jpg 801w" sizes="(max-width: 984px) 100vw, 984px" /><figcaption>Launch the server</figcaption></figure>



<p>After a few minutes, the server will be successfully compiled. From now on, just copy this address into your web browser:<strong>http://localhost:4200/</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/01/angular9.jpg" alt="Successfully running angular app" class="wp-image-17773" srcset="https://www.osradar.com/wp-content/uploads/2020/01/angular9.jpg 1024w, https://www.osradar.com/wp-content/uploads/2020/01/angular9-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/01/angular9-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2020/01/angular9-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2020/01/angular9-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2020/01/angular9-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Successfully running angular app</figcaption></figure>



<p>On the other hand, any changes made to the project from the editor will be reflected in the web browser. Additionally, another method to start the server is from Visual Code. To do so, please right click on<strong> src </strong>and select the <em>Open in terminal</em> option.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/01/angular10-1.jpg" alt="Launching a terminal within Visual Code Editor." class="wp-image-17776" srcset="https://www.osradar.com/wp-content/uploads/2020/01/angular10-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2020/01/angular10-1-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/01/angular10-1-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2020/01/angular10-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2020/01/angular10-1-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2020/01/angular10-1-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption> <em>Launching a terminal within Visual Code Editor.</em> </figcaption></figure>



<p>Consequently, a terminal will be opened. Now just add the same command as before. Please wait for it to compile, and open the address in the web browser.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/01/angular11.jpg" alt="Starting the server from Visual Code Editor." class="wp-image-17778" srcset="https://www.osradar.com/wp-content/uploads/2020/01/angular11.jpg 1024w, https://www.osradar.com/wp-content/uploads/2020/01/angular11-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/01/angular11-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2020/01/angular11-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2020/01/angular11-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2020/01/angular11-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Starting the server from Visual Code Editor.</figcaption></figure>



<h2>Conclusion</h2>



<p>Ultimately, we have seen how to install Angular on Windows 10. More and more companies are looking for experts in this framework. So from now on, you can start using it. All right, that&#8217;s it for now. Please share this post on your social networks.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-angular-on-windows-10/">How to install Angular on Windows 10.</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-angular-on-windows-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install AngularCLI on Ubuntu 18.04?</title>
		<link>https://www.osradar.com/install-angularcli-on-ubuntu-18-04/</link>
					<comments>https://www.osradar.com/install-angularcli-on-ubuntu-18-04/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Wed, 03 Jul 2019 23:23:44 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[angular]]></category>
		<category><![CDATA[angularcli]]></category>
		<category><![CDATA[bionic]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[NodeJS]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[web development]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=12561</guid>

					<description><![CDATA[<p>At present, the field of web application development is quite competitive. Every day there are more tools that are focused on this area. Of those aspects, the front end stands out because it is the entrance door of the application. In fact, for many users, the graphics aspect is the first evaluation criterion that counts [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-angularcli-on-ubuntu-18-04/">How to install AngularCLI on Ubuntu 18.04?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>At present, the field of web application development is quite competitive. Every day there are more tools that are focused on this area. Of those aspects, the front end stands out because it is the entrance door of the application. In fact, for many users, the graphics aspect is the first evaluation criterion that counts when evaluating an application. In the front end of a web application, we find Javascript that adds dynamism to HTML. From Javascript, there are many frameworks but the most popular is perhaps Angular. So, in this post, I will show you how to install AngularCLI, the tool with which you can create projects in Angular.</p>
<h2>AngularCLI: a command line interface for Angular</h2>
<p><a href="https://angular.io/" rel="noopener noreferrer">Angular</a> is a Javascript framework for creating the front end side using the MVC pattern. It was created in 2009 by Google and is becoming more and more popular. Thanks to Angular we will be able to speed up the work from the front end using a lot of Javascript functionalities perfectly organized. Its methodology is the SPA, i.e. single page application.</p>
<p>On the other hand, Angular is being widely used in a new stack called MEAN (<a href="https://www.osradar.com/how-to-install-mongodb-on-ubuntu-18-04/" rel="noopener noreferrer">MongoDB</a>, ExpressJS, Angular and <a href="https://www.osradar.com/how-to-install-nodejs-on-ubuntu-18-04-lts-linux-mint-19/" rel="noopener noreferrer">NodeJS</a>) where you can create other types of web applications.</p>
<p>In order to have a tool to manage Angular better, it is that <a href="https://cli.angular.io/" rel="noopener noreferrer">AngularCLI</a> arises. AngularCLI is a command line interface for Angular, with it, we can create an application that already works, right out of the box.</p>
<p>So, if you use Angular or you want to learn about it, you have to install AngularCLI.</p>
<h2>Getting AngularCLI on Ubuntu 18.04</h2>
<p>Before we go on, you need to know that we will need NodeJS. Next, you have to be able to use sudo with your user. Besides, you need some knowledge about the use of the terminal in Ubuntu.</p>
<h3>Install NodeJS on Ubuntu 18.04</h3>
<p>The first step is to install NodeJS 10 at least. Don&#8217;t worry it&#8217;s quite simple and we&#8217;ve made a post dedicated to it.</p>
<p>Read <a href="https://www.osradar.com/how-to-install-nodejs-on-ubuntu-18-04-lts-linux-mint-19/" rel="noopener noreferrer">How to install NodeJS on Ubuntu 18.04?</a></p>
<p>Then you can continue with the tutorial.</p>
<h3>Install AngularCLI on Ubuntu 18.04</h3>
<p>Once you have made sure that NodeJS and NPM are properly installed in the terminal run the following.</p>
<pre>:~$ sudo npm install -g @angular/cli</pre>
<p><figure id="attachment_21289" aria-describedby="caption-attachment-21289" style="width: 803px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-21289 size-full" src="https://www.osradar.com/wp-content/uploads/2019/07/1-14.png" alt="1.- Install AngularCLI on Ubuntu 18.04" width="803" height="267" srcset="https://www.osradar.com/wp-content/uploads/2019/07/1-14.png 803w, https://www.osradar.com/wp-content/uploads/2019/07/1-14-300x100.png 300w, https://www.osradar.com/wp-content/uploads/2019/07/1-14-768x255.png 768w, https://www.osradar.com/wp-content/uploads/2019/07/1-14-696x231.png 696w" sizes="(max-width: 803px) 100vw, 803px" /><figcaption id="caption-attachment-21289" class="wp-caption-text">1.- Install AngularCLI on Ubuntu 18.04</figcaption></figure></p>
<p>Next, check the installed version.</p>
<pre>:~$ ng new example-project</pre>
<p><figure id="attachment_21291" aria-describedby="caption-attachment-21291" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-21291 size-full" src="https://www.osradar.com/wp-content/uploads/2019/07/2-15.png" alt="2.- Creating a new project with AngularCLI" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/07/2-15.png 1366w, https://www.osradar.com/wp-content/uploads/2019/07/2-15-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/07/2-15-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/07/2-15-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/07/2-15-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/07/2-15-1068x600.png 1068w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-21291" class="wp-caption-text">2.- Creating a new project with AngularCLI</figcaption></figure></p>
<p>Then, access the directory of your newly created project. Then, using the serve command, you can access your application. Note that the default port is 4200.</p>
<pre>:~$ cd example-project
:~$ ng serve</pre>
<p>This will make the application available at http://localhost:4200, but many times we need to specify a particular host. To do this, run:</p>
<pre>:~$ ng serve --host [host_ip] --port [port]</pre>
<p>Next, open it using your web browser. For example, http://192.168.250.7:4200.</p>
<p><figure id="attachment_21292" aria-describedby="caption-attachment-21292" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-21292 size-full" src="https://www.osradar.com/wp-content/uploads/2019/07/3-12.png" alt="3.- Angular is working" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/07/3-12.png 1366w, https://www.osradar.com/wp-content/uploads/2019/07/3-12-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/07/3-12-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/07/3-12-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/07/3-12-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/07/3-12-1068x521.png 1068w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-21292" class="wp-caption-text">3.- Angular is working</figcaption></figure></p>
<p>And that is it.</p>
<h2>Conclusion</h2>
<p>Thanks to this post, you have learned how to install AngularCLI in Ubuntu 18.04. This being one of the most used distributions to develop applications for its stability and ease of use.</p>
<p>In this sense, it is possible to affirm with almost total certainty that AngularCLI facilitates the management of Angular projects. Thus it is possible to improve our productivity.</p>
<p>Please share this post with your friends.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-angularcli-on-ubuntu-18-04/">How to install AngularCLI on Ubuntu 18.04?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-angularcli-on-ubuntu-18-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
