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

# rig workspace resize

> Resize workspace resources

Available **local and workspace**. Reference source: CLI `0.13.0-rc.5` (`824aefd6ad16`).

Use this command from your local terminal or inside a workspace. Inside a workspace, `--workspace` defaults to that workspace.

## Examples

> [!WARNING]
>
> This command changes an existing resource or its configuration and may affect a running application. Confirm the target and review the complete help before running the example.

Run from your local terminal. Replace uppercase placeholders with your own values. This invocation performs the operation described above.

```bash theme={null}
rig workspace resize --workspace WORKSPACE_ID
```

Inspect the supported arguments before running this command. Help is offline and does not modify resources.

```bash theme={null}
rig workspace resize --help
```

## Local syntax

```text theme={null}
Usage: rigbox workspace resize [OPTIONS] --workspace <WORKSPACE>
```

### Arguments and flags

| Argument | Description | Details |
| - | - | - |
| `-w, --workspace` | Workspace name or id | Required; Value: WORKSPACE |
| `--ram` | New RAM allotment in MB | Value: RAM |
| `--vcpu` | New vCPU count (minimum: 1) | Value: VCPU |
| `--disk` | New disk size in MB | Value: DISK |
| `--output` | Output format \[default: human, or `rig config set output …`] | Global; Value: OUTPUT; Choices: human, json, yaml, text, table |
| `--query` | Filter output with a JMESPath expression | Global; Value: JMESPATH |
| `--cli-input-json` | Read inputs from a JSON file or '-' (stdin) | Global; Value: FILE |
| `--cli-input-yaml` | Read inputs from a YAML file or '-' (stdin) | Global; Value: FILE; Conflicts: cli\_input\_json |
| `--generate-cli-skeleton` | Print a fillable input template, then exit | Global; Default: false |
| `--no-pager` | Do not pipe help output through a pager | Global; Default: false |
| `-v, --verbose` | Verbose diagnostics on stderr: per-phase deploy tracing, job-poll status, and transport commands. Useful for debugging a slow or stuck `rig deploy` | Global; Default: false |
| `-h, --help` | Print help | |

> **Complete command help**
>
> ```text theme={null}
> Resize workspace resources
>
> Usage: rigbox workspace resize [OPTIONS] --workspace <WORKSPACE>
>
> Options:
>       --output <OUTPUT>
>           Output format [default: human, or `rig config set output …`]
>
>           [possible values: human, json, yaml, text, table]
>
>   -w, --workspace <WORKSPACE>
>           Workspace name or id
>
>       --query <JMESPATH>
>           Filter output with a JMESPath expression
>
>       --ram <RAM>
>           New RAM allotment in MB
>
>       --cli-input-json <FILE>
>           Read inputs from a JSON file or '-' (stdin)
>
>       --vcpu <VCPU>
>           New vCPU count (minimum: 1)
>
>       --cli-input-yaml <FILE>
>           Read inputs from a YAML file or '-' (stdin)
>
>       --disk <DISK>
>           New disk size in MB
>
>       --generate-cli-skeleton
>           Print a fillable input template, then exit
>
>       --no-pager
>           Do not pipe help output through a pager
>
>   -v, --verbose
>           Verbose diagnostics on stderr: per-phase deploy tracing, job-poll status, and transport commands. Useful for debugging a slow or stuck `rig deploy`
>
>   -h, --help
>           Print help
> ```

## Workspace syntax

```text theme={null}
Usage: rigbox workspace resize [OPTIONS]
```

### Arguments and flags

| Argument | Description | Details |
| - | - | - |
| `-w, --workspace` | Workspace name or id (default: this workspace) | Value: WORKSPACE |
| `--ram` | New RAM allotment in MB | Value: RAM |
| `--vcpu` | New vCPU count (minimum: 1) | Value: VCPU |
| `--disk` | New disk size in MB | Value: DISK |
| `--output` | Output format \[default: human, or `rig config set output …`] | Global; Value: OUTPUT; Choices: human, json, yaml, text, table |
| `--query` | Filter output with a JMESPath expression | Global; Value: JMESPATH |
| `--no-pager` | Do not pipe help output through a pager | Global; Default: false |
| `-v, --verbose` | Verbose diagnostics on stderr (per-phase deploy tracing, job-poll status) | Global; Default: false |
| `-h, --help` | Print help | |

> **Complete command help**
>
> ```text theme={null}
> Resize workspace resources
>
> Usage: rigbox workspace resize [OPTIONS]
>
> Options:
>       --output <OUTPUT>
>           Output format [default: human, or `rig config set output …`]
>
>           [possible values: human, json, yaml, text, table]
>
>   -w, --workspace <WORKSPACE>
>           Workspace name or id (default: this workspace)
>
>       --query <JMESPATH>
>           Filter output with a JMESPath expression
>
>       --ram <RAM>
>           New RAM allotment in MB
>
>       --no-pager
>           Do not pipe help output through a pager
>
>       --vcpu <VCPU>
>           New vCPU count (minimum: 1)
>
>       --disk <DISK>
>           New disk size in MB
>
>   -v, --verbose
>           Verbose diagnostics on stderr (per-phase deploy tracing, job-poll status)
>
>   -h, --help
>           Print help
> ```


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