how to check if you have angular cli installed code example Example: how to check for angular cli version ng --version