dwongrade angular core from 11 to specific version code example
Example: downgrade angular version in project
Try like this :
ng --version
npm uninstall -g @angular/cli
npm cache clean --force
npm install -g @angular/[email protected]
ng --version