---
url: https://docs.mochiexec.io/reference/cli/mochi_config_set.md
description: Set a global configuration value.
---

# mochi config set

Set a global configuration value.

## Options

| Flag | Type | Description |
|------|------|-------------|
| `-h, --help` |  | help for set |

## Options inherited from parent commands

| Flag | Type | Description |
|------|------|-------------|
| `-L, --log-level` | `string` | Log verbosity level (debug, info, fatal) (default "info") |
| `--sync` |  | Sync flow cache and workspaces |

## See also

* [mochi config](mochi_config.md) — View and update global flow configuration.
* [mochi config set log-mode](mochi_config_set_log-mode.md) — Set the default log mode.
* [mochi config set namespace](mochi_config_set_namespace.md) — Change the current namespace.
* [mochi config set notifications](mochi_config_set_notifications.md) — Enable or disable notifications.
* [mochi config set theme](mochi_config_set_theme.md) — Set the theme for the TUI views
* [mochi config set timeout](mochi_config_set_timeout.md) — Set the default timeout for executables.
* [mochi config set tui](mochi_config_set_tui.md) — Enable or disable the interactive terminal UI experience.
* [mochi config set update-check](mochi_config_set_update-check.md) — Enable or disable background CLI update checks.
* [mochi config set workspace-mode](mochi_config_set_workspace-mode.md) — Switch between fixed and dynamic workspace modes.
