Perform a basic update to the current stable release of the core framework and CLI by running the following command.


\begin{DoxyCode}{0}
\DoxyCodeLine{ng update @angular/cli @angular/core }

\end{DoxyCode}


To update to the next beta or pre-\/release version, use the {\ttfamily -\/-\/next=true} option.

To update from one major version to another, use the format {\ttfamily ng update @angular/cli@$^\wedge$$<$major\+\_\+version$>$ @angular/core@$^\wedge$$<$major\+\_\+version$>$}.

We recommend that you always update to the latest patch version, as it contains fixes we released since the initial major release. For example, use the following command to take the latest 9.\+x.\+x version and use that to update.

{\ttfamily ng update @angular/cli@$^\wedge$9 @angular/core@$^\wedge$9}

For detailed information and guidance on updating your application, see the interactive \href{https://update.angular.io/}{\texttt{ Angular Update Guide}}. 