sfdx config:set

Sets the configuration variables that the Salesforce CLI uses for various commands and tasks

Options

NameDescription
--jsonFormat output as json
--loglevel <loglevel>Logging level for this command invocation
-g, --globalSet config var globally (to be used from any directory)