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