I just installed yarn and I am trying to switch from npm.
I tried to set my caching path this way, but this failed:
yarn --cache-folder /usr/local/Caches/yarn yarn global --cache-folder /usr/local/Caches/yarn yarn global cache --cache-folder /usr/local/Caches/yarn yarn cache --cache-folder /usr/local/Caches/yarn yarn config set --cache-folder /usr/local/Caches/yarn
Here is the documentation for yarn configuration .
source share