First of all you need to check the global Angular CLI.
Just run the following command in the terminal:
ng --version
You should see prompt like this:
18.0.7
If you don’t have global Angular package installed, you can check a local Angular as well.
Open a project directory and it should have the following things:
angular.json
file@angular/*
packages in package.json