Suppose your project repository is
c:\repos\myproject
Using cmd or Powershell
cd c:\repos\myproject
run
npm install @angular/cli@9
wait for the result
ng update @angular/core@9
wait for the result, should be a successful result.
to be sure from the version, run
ng --version