---
title: Config
description: Manage SDK and CLI settings.
canonical: 'https://lightning.ai/docs/cli/stable/command-details/config'
---
# Config {#config}

Manage SDK and CLI settings.

**Usage:**

```console
lightning config [OPTIONS] COMMAND [ARGS]...
```

## Commands {#config-commands}

| Command | Description |
| --- | --- |
| [`get`](#config-get) | Get configuration values. |
| [`set`](#config-set) | Set configuration values. |
| [`show`](#config-show) | Show configuration values. |

## lightning config get {#config-get}

Get configuration values.

**Usage:**

```console
lightning config get [OPTIONS] COMMAND [ARGS]...
```

### Commands {#config-get-commands}

| Command | Description |
| --- | --- |
| [`cloud-account`](#config-get-cloud-account) | Get the default cloud account name from the config. |
| [`cloud-provider`](#config-get-cloud-provider) | Get the default cloud provider name from the config. |
| [`org`](#config-get-org) | Get the default organization name from the config. |
| [`studio`](#config-get-studio) | Get the default studio name from the config. |
| [`teamspace`](#config-get-teamspace) | Get the default teamspace name from the config. |
| [`user`](#config-get-user) | Get the default user name from the config. |

### lightning config get cloud-account {#config-get-cloud-account}

Get the default cloud account name from the config.

**Usage:**

```console
lightning config get cloud-account [OPTIONS]
```

### lightning config get cloud-provider {#config-get-cloud-provider}

Get the default cloud provider name from the config.

**Usage:**

```console
lightning config get cloud-provider [OPTIONS]
```

### lightning config get org {#config-get-org}

Get the default organization name from the config.

**Usage:**

```console
lightning config get org [OPTIONS]
```

### lightning config get studio {#config-get-studio}

Get the default studio name from the config.

**Usage:**

```console
lightning config get studio [OPTIONS]
```

### lightning config get teamspace {#config-get-teamspace}

Get the default teamspace name from the config.

**Usage:**

```console
lightning config get teamspace [OPTIONS]
```

### lightning config get user {#config-get-user}

Get the default user name from the config.

**Usage:**

```console
lightning config get user [OPTIONS]
```

## lightning config set {#config-set}

Set configuration values.

**Usage:**

```console
lightning config set [OPTIONS] COMMAND [ARGS]...
```

### Commands {#config-set-commands}

| Command | Description |
| --- | --- |
| [`cloud-account`](#config-set-cloud-account) | Set the default cloud account name in the config. |
| [`cloud-provider`](#config-set-cloud-provider) | Set the default cloud provider name in the config. |
| [`org`](#config-set-org) | Set the default organization name in the config. |
| [`studio`](#config-set-studio) | Set the default studio name in the config. |
| [`teamspace`](#config-set-teamspace) | Set the default teamspace name in the config. |
| [`user`](#config-set-user) | Set the default user name in the config. |

### lightning config set cloud-account {#config-set-cloud-account}

Set the default cloud account name in the config.

**Usage:**

```console
lightning config set cloud-account [OPTIONS] CLOUD_ACCOUNT_NAME
```

#### Arguments {#config-set-cloud-account-arguments}

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `CLOUD_ACCOUNT_NAME` | `text` | yes | Cloud account name to make active in the local Lightning CLI config. |

### lightning config set cloud-provider {#config-set-cloud-provider}

Set the default cloud provider name in the config.

**Usage:**

```console
lightning config set cloud-provider [OPTIONS] CLOUD_PROVIDER_NAME
```

#### Arguments {#config-set-cloud-provider-arguments}

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `CLOUD_PROVIDER_NAME` | `text` | yes | Cloud provider name to make active in the local Lightning CLI config. |

### lightning config set org {#config-set-org}

Set the default organization name in the config.

**Usage:**

```console
lightning config set org [OPTIONS] ORG_NAME
```

#### Arguments {#config-set-org-arguments}

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `ORG_NAME` | `text` | yes | Organization name to make active in the local Lightning CLI config. |

### lightning config set studio {#config-set-studio}

Set the default studio name in the config.

**Usage:**

```console
lightning config set studio [OPTIONS] STUDIO_NAME
```

#### Arguments {#config-set-studio-arguments}

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `STUDIO_NAME` | `text` | yes | Studio name to make active in the local Lightning CLI config. |

### lightning config set teamspace {#config-set-teamspace}

Set the default teamspace name in the config.

**Usage:**

```console
lightning config set teamspace [OPTIONS] TEAMSPACE_NAME
```

#### Arguments {#config-set-teamspace-arguments}

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `TEAMSPACE_NAME` | `text` | yes | Teamspace name to make active in the local Lightning CLI config. |

### lightning config set user {#config-set-user}

Set the default user name in the config.

**Usage:**

```console
lightning config set user [OPTIONS] USER_NAME
```

#### Arguments {#config-set-user-arguments}

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `USER_NAME` | `text` | yes | User name to make active in the local Lightning CLI config. |

## lightning config show {#config-show}

Show configuration values.

**Usage:**

```console
lightning config show [OPTIONS]
```

### Options {#config-show-options}

| Option | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `--json` | — | no | — | Output as JSON. |

---

**Navigation**

- Parent: [Command details](/docs/cli/2026.11.04/command-details.md)
