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