> ## Documentation Index
> Fetch the complete documentation index at: https://docs.atomscale.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# CLI Settings Reference

> Atomscale CLI settings, defaults, and accepted values

`atomscale config list` shows the settings, and `atomscale config get network.mode` reads one setting. The gateway must be running to read or change gateway settings. Changes apply to the whole gateway except for `state-dir`, which applies to the current Windows user.

`atomscale config set` accepts one or more `FIELD VALUE` pairs. The gateway validates the values together before applying them. For example, this command caps file uploads at 500 Mbps:

```batch theme={null}
atomscale config set uploads.bandwidth-limit-mbps 500
```

When the gateway is online, its **Settings** in the web app also let you change Connection Sharing, upload limits, and automatic updates. See [Remote Management](https://docs.atomscale.ai/gateway/remote-management.md#settings).

## Connection Sharing

| Setting | Default | Description |
| - | - | - |
| `network.mode` | `normal` | `normal` connects directly to Atomscale. `hub` also shares the connection with other lab computers. `outpost` connects through another computer's Hub, with no fallback to a direct connection. |
| `network.listen-port` | `8484` | TCP port the gateway listens on in Hub mode. Accepts `1024` to `65535`. |
| `network.proxy` | Not set | Hub address. Accepts an HTTP CONNECT endpoint in the form `http://host:port`, or `none` to clear it. Outpost mode requires a Hub address. |

The installer and `atomscale connection setup` can configure these settings for you. See [Set Up Atomscale CLI](https://docs.atomscale.ai/gateway/reference/set-up-atomscale-cli.md) and [Connection Sharing](https://docs.atomscale.ai/gateway/connection-sharing.md).

## Upload limits

| Setting | Default | Description |
| - | - | - |
| `uploads.bandwidth-limit-mbps` | `unlimited` | Bandwidth shared by the gateway's file uploads. Accepts `250`, `500`, or `1000` Mbps, or `unlimited`. |
| `uploads.max-concurrent-file-uploads` | `8` | Maximum number of files the gateway uploads at once. Accepts `2`, `4`, `8`, or `16`. |

See [Uploads and Buffering](https://docs.atomscale.ai/gateway/uploads.md#upload-limits).

## Updates and diagnostics

| Setting | Default | Description |
| - | - | - |
| `updates.auto` | `on` | Enables automatic updates for the CLI gateway and its integrations. Accepts `on` or `off`. |
| `remote.windows-queries` | `on` | Allows the [Gateway assistant](https://docs.atomscale.ai/gateway/assistant.md) to read local diagnostics on this workstation. Accepts `on` or `off`. This setting can only be changed on the workstation. Turning it off blocks those reads without disabling remote integration controls in the web app. |

## Local CLI settings

| Setting | Default | Description |
| - | - | - |
| `state-dir` | Not set | Directory the CLI uses to select which gateway it talks to. Accepts a directory path or `none` to clear the choice. It doesn't move any data. Set it on its own, not in the same command as other settings. |

On a standard install, the CLI uses the installed service unless a state directory overrides it. `atomscale --service config list` selects the installed service explicitly, ignoring the saved `state-dir`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.