Answers for "yarn cache folder clean force"

18

yarn clear cache

yarn cache clean
Posted by: Guest on April-30-2020
1

yarn cache directory

### Change the cache path for yarn

## Set cache-folder config value to configure the cache directory.
yarn config set cache-folder <path>

## You can also specify the cache directory by flag --cache-folder:
yarn <command> --cache-folder <path>

## You can also specify the cache directory by environment variable YARN_CACHE_FOLDER:
YARN_CACHE_FOLDER=<path> yarn <command>

##Yarn will also respect cache=<path> in .npmrc for compatibility with npm.
Posted by: Guest on December-01-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language