I have some Node.js CLI code in a folder. To install it globally, I usually cd into its directory and type npm i -g .
What is the equivalent to add a local package taht will work as a global CLI with yarn (yarn global add . returns an error)?
Thanks!