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