yarn4 global add alternative

40 views Asked by At

recently I have upgraded my repo to Yarn4 from version 1.22.9. I have a following command in docker file

RUN yarn global add [email protected]

The yarn global commands have been removed from version 2 onwards.

Which command should I use to install dependency globally?

Thanks in advance.

0

There are 0 answers