Docs/Reference/CLI/config/set

yarn config set

Set a configuration value

yarn config set <NAME> <VALUE>

This command will set a configuration setting, by default in the project configuration file unless the -U,--user flag is set.

The new value will be hydrated depending on the type of the field being set: primitives such as string will be hydrated directly, while complex types such as arrays and objects will be hydrated through JSON.

#--user, -Uboolean