# nodus config set-context

> Change a context's project or server (NAME defaults to the current context)

Source: https://nodus-platform-site.pages.dev/docs/reference/cli/nodus_config_set-context/
Build revision: 211ad9f836655b1c3a2668c4693e442471f28614

## nodus config set-context

Change a context’s project or server (NAME defaults to the current context)

```plaintext
nodus config set-context NAME [--project P] [--server URL] [flags]
```

### Options

```plaintext
  -h, --help             help for set-context
      --project string   Project for this context
      --server string    API server for this context
```

### Options inherited from parent commands

```plaintext
      --context string   Context from the config file to use
      --org string       Organization (selects the context for that org)
  -v, --verbose          Log each API request (never credentials)
```

### SEE ALSO

* [nodus config](https://nodus-platform-site.pages.dev/docs/reference/cli/nodus_config/) - Show and change contexts in \~/.nodus/config

### Tested examples

These invocations run in CI against the CLI’s fake API.

Terminal window

```sh
nodus config set-context acme --project research
```
