yarn config unset — Yarn CLI reference

Unset a configuration value

Docs/Reference/CLI/config/unset

yarn config unset

Unset a configuration value

yarn config unset <NAME>

This command will remove a configuration setting, by default in the project configuration file unless the -H,--home flag is set, in which case it will be removed from the home configuration file.

#--home, -Hboolean

If set, the configuration will be unset in the home configuration file