you can run
npx ng serve
To make sure you will use the same version, and to avoid global installation