Command

nylas config set

The nylas config set command updates one CLI setting using dot notation, such as output.format, default_grant, or gpg.auto_sign. Use it to change behavior without editing the config file manually.

Written by Qasim Muhammad Staff SRE

What does nylas config set do?

The nylas config set command updates one CLI setting using dot notation, such as output.format, default_grant, or gpg.auto_sign. Use it to change behavior without editing the config file manually.

Usage

nylas config set <key> <value> [flags]

Flags

FlagDescription
--jsonOutput as JSON
--no-colorDisable color output
--verbose(-v)Enable verbose output
--configCustom config file path
--help(-h)Show help for the command
--limitLimit results (most list commands)
--yes(-y)Skip confirmations
--formatOutput format: table, json, yaml
--quiet(-q)Quiet mode - only output essential data (IDs)
--wide(-w)Wide output - show full IDs without truncation

Examples

Set the default grant ID

nylas config set default_grant grant_abc123

Set the output format

nylas config set output.format json

Enable automatic GPG signing

nylas config set gpg.auto_sign true

Troubleshooting

Setting does not take effect

Run `nylas config path` to confirm which config file is active, then re-run the command with the expected key.

Recommended guides

Run nylas config set --help for full help output.