---
title: "pols resize"
description: "Change a sandbox's size; a running one restarts, its disk and files stay"
---

<!-- Generated by scripts/reference.mjs from the pols CLI's --help. Do not edit; run `npm run reference:sync`. -->

Change a sandbox's vCPUs, RAM and disk to those of another size (small, default,
large or xlarge; see pols.so/pricing). The sandbox keeps its ID, name, addresses,
disk, users, environment and vault entries. A running sandbox is shut down,
resized and booted again, so the processes running in it stop; a stopped one is
resized and stays stopped. The disk only grows, so a size with a smaller disk is
refused. RAM is billed at the new size from the restart on.

## Usage

```text
pols resize SANDBOX --size SIZE [flags]
```

## Examples

```sh
pols resize braveotter --size large
pols resize sbx_3k9x2m1q8zt4 --size xlarge --no-wait
```

## Flags

```text
-h, --help                    help for resize
    --no-wait                 return at once instead of waiting for the sandbox to get there
    --size string             the new size: small, default, large or xlarge
    --wait-timeout duration   how long to wait (default 5m0s)
```

The [global flags](/docs/reference/cli/#global-flags) work with this command too.
