how to check angular cli global version code example Example: how to check for angular cli version ng --version