Quantcast
Channel: Infragistics Community
Viewing all articles
Browse latest Browse all 2374

How to Update to the Latest Version of Ignite UI CLI

$
0
0

In this blog post, we will learn systematically about how Ignite UI CLI can be updated to the latest version.

Learn more about Ignite UI CLI here

To know the current version installed on your machine run the command,

ig –v

This should give you current version as shown below:

The current version of Ignite UI CLI on my system is 1.3.0.  Now, I’ll want to update my version to create a new Angular app.

For this, we’ll update Ignite UI CLI to the latest version using the command,

npm i -g igniteui-cli

 

After successfully updating Ignite UI CLI, run the first command again to check the version installed.

ig- v

 

This should give you updated current version as shown below:

Now, on your system, you should have updated version 1.3.1 of Ignite UI CLI.  We can go aheadand create a new Angular project with latest version of Ignite UI CLI.

Let’s create a new Angular project using

 

ig new demo3  --framework=angular

 

In package.json, you can check that new project has been created using latest version of Ignite UI for Angular,

Then add an Ignite UI for Angular Grid to the application using following command,

 

 

ig add grid mygrid

 

Then run application using

ig start

This command will install all required modules and run the application. You will have application running as shown below:

This is all you need to do to update to latest version of Ignite UI CLI. I hope you find this post useful. Thanks for reading.


Viewing all articles
Browse latest Browse all 2374

Trending Articles