In this lecture, we are going to explore the process of upgrading an angular application, angular
experiences, fresh updates every six months, while not fun.
We should always take the time to work with the latest version of angular.
Major updates imply breaking changes.
So where do we go for up creating an angular application?
Luckily, Angular is known for making the upgrade process as painless as possible.
Let me show you the process of upgrading and angular app.
You do not need to follow along with me.
If you've been following along, your app should already be using the latest version.
As of this course, we are on version 13 for demonstration purposes.
I've taken the time to downgrade the version to version 12 in my browser.
I'm visiting a URL called Update Dot Angular Dot Io on this page.
The angular team will guide you through the process of upgrading your project.
Just follow the instructions and you're good to go.
In my case, the steps for migrating from version 12 to 13 is running a single command.
You may experience different steps if you're on different versions.
This command will update the packages to the targeted version.
If you hover your mouse over, the command and icon should appear to the right.
You can click on this icon to copy the text to our clipboard after you've got it in your clipboard.
Switch over to the command line of your project.
Paste and execute the command.
This process may take a few minutes.
Be patient.
After a few moments, everything should be working as long as Angular says migration completed.
You're good to go.
We've successfully migrated from version 12 to 13.
You shouldn't have to perform this step since you're probably on a newer version of Angular.
I'm including this lecture to demonstrate the process of upgrading angular to a more recent version.
All you have to do is follow the steps recommended on their site as long as you follow the instructions.
You shouldn't have much trouble.
Let's continue our journey in the next lecture.