---
url: https://docs.mochiexec.io/reference/cli/mochi_config_set_workspace-mode.md
description: Switch between fixed and dynamic workspace modes.
---

# mochi config set workspace-mode

Switch between fixed and dynamic workspace modes.

```shell
mochi config set workspace-mode [fixed|dynamic] [flags]
```

## Options

| Flag | Type | Description |
|------|------|-------------|
| `-h, --help` |  | help for workspace-mode |

## 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 set](mochi_config_set.md) — Set a global configuration value.
