---
url: https://docs.mochiexec.io/reference/cli/mochi_config_set_namespace.md
description: Change the current namespace.
---

# mochi config set namespace

Change the current namespace.

```shell
mochi config set namespace NAME [flags]
```

## Examples

```shell
mochi config set namespace myproject
mochi config set namespace default
```

## Options

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

## 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.
