install angular cli globally using yarn code example Example: yarn \angular cli yarn global add @angular/cli