{"id":1775,"date":"2023-11-15T05:00:00","date_gmt":"2023-11-15T13:00:00","guid":{"rendered":"https:\/\/www.angulartraining.com\/daily-newsletter\/?p=1775"},"modified":"2023-11-14T14:45:11","modified_gmt":"2023-11-14T22:45:11","slug":"how-to-update-your-angular-cli","status":"publish","type":"post","link":"https:\/\/www.angulartraining.com\/daily-newsletter\/how-to-update-your-angular-cli\/","title":{"rendered":"How to update your Angular CLI?"},"content":{"rendered":"\n<p>We touched on many <a href=\"https:\/\/www.angulartraining.com\/daily-newsletter\/angular-17-lazy-loading-with-defer\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Angular 17 updates<\/a> so far, and if you want to test those out on a fresh new project, you&#8217;ll need to upgrade your Angular CLI to v17.<\/p>\n\n\n\n<p>Here is the most straightforward command to upgrade your global Angular CLI to the latest version:<\/p>\n\n\n\n<p><code>npm install -g @angular\/cli@latest<\/code><\/p>\n\n\n\n<p>That&#8217;s it! The <code>-g<\/code> flag indicates we want to install that CLI globally, and the <code>@latest<\/code> at the end ensures we&#8217;re getting the latest stable version.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We touched on many Angular 17 updates so far, and if you want to test those out on a fresh new project, you&#8217;ll need to upgrade your Angular CLI to v17. Here is the most straightforward command to upgrade your global Angular CLI to the latest version: npm install -g @angular\/cli@latest That&#8217;s it! The -g [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,30,17],"tags":[],"class_list":["post-1775","post","type-post","status-publish","format-standard","hentry","category-angular","category-cli","category-tools"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/posts\/1775","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/comments?post=1775"}],"version-history":[{"count":4,"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/posts\/1775\/revisions"}],"predecessor-version":[{"id":1779,"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/posts\/1775\/revisions\/1779"}],"wp:attachment":[{"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/media?parent=1775"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/categories?post=1775"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/tags?post=1775"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}