1 00:00:00,090 --> 00:00:06,390 In this lecture, we are going to explore the process of upgrading an angular application, angular 2 00:00:06,390 --> 00:00:10,620 experiences, fresh updates every six months, while not fun. 3 00:00:10,740 --> 00:00:15,020 We should always take the time to work with the latest version of angular. 4 00:00:15,300 --> 00:00:18,000 Major updates imply breaking changes. 5 00:00:18,240 --> 00:00:21,420 So where do we go for up creating an angular application? 6 00:00:21,630 --> 00:00:27,090 Luckily, Angular is known for making the upgrade process as painless as possible. 7 00:00:27,660 --> 00:00:30,900 Let me show you the process of upgrading and angular app. 8 00:00:31,200 --> 00:00:33,330 You do not need to follow along with me. 9 00:00:33,600 --> 00:00:38,310 If you've been following along, your app should already be using the latest version. 10 00:00:38,640 --> 00:00:43,820 As of this course, we are on version 13 for demonstration purposes. 11 00:00:43,860 --> 00:00:48,840 I've taken the time to downgrade the version to version 12 in my browser. 12 00:00:48,990 --> 00:00:54,930 I'm visiting a URL called Update Dot Angular Dot Io on this page. 13 00:00:55,080 --> 00:00:59,550 The angular team will guide you through the process of upgrading your project. 14 00:00:59,820 --> 00:01:02,670 Just follow the instructions and you're good to go. 15 00:01:03,030 --> 00:01:09,240 In my case, the steps for migrating from version 12 to 13 is running a single command. 16 00:01:09,540 --> 00:01:13,440 You may experience different steps if you're on different versions. 17 00:01:13,920 --> 00:01:17,550 This command will update the packages to the targeted version. 18 00:01:17,820 --> 00:01:22,470 If you hover your mouse over, the command and icon should appear to the right. 19 00:01:22,800 --> 00:01:29,130 You can click on this icon to copy the text to our clipboard after you've got it in your clipboard. 20 00:01:29,220 --> 00:01:32,250 Switch over to the command line of your project. 21 00:01:34,770 --> 00:01:36,960 Paste and execute the command. 22 00:01:38,420 --> 00:01:40,490 This process may take a few minutes. 23 00:01:40,700 --> 00:01:41,540 Be patient. 24 00:01:46,630 --> 00:01:52,930 After a few moments, everything should be working as long as Angular says migration completed. 25 00:01:52,960 --> 00:01:54,010 You're good to go. 26 00:01:54,490 --> 00:01:58,150 We've successfully migrated from version 12 to 13. 27 00:01:58,480 --> 00:02:03,670 You shouldn't have to perform this step since you're probably on a newer version of Angular. 28 00:02:04,030 --> 00:02:09,940 I'm including this lecture to demonstrate the process of upgrading angular to a more recent version. 29 00:02:10,300 --> 00:02:16,400 All you have to do is follow the steps recommended on their site as long as you follow the instructions. 30 00:02:16,420 --> 00:02:18,040 You shouldn't have much trouble. 31 00:02:18,280 --> 00:02:21,010 Let's continue our journey in the next lecture.