# remove

```bash
npx blockstudio remove <block> [options]
```

Deletes an installed block folder from your project's block directory.

## Arguments

| Argument | Description |
|----------|-------------|
| `block` | The block name to remove (folder name, not namespace/block). |

## Options

| Option | Description |
|--------|-------------|
| `-y, --yes` | Skip confirmation prompt. |

## Behavior

In interactive mode, the CLI asks for confirmation before deleting. In
non-interactive mode (stdin is not a terminal, as in CI), it proceeds
without prompting. A block folder that does not exist exits with
`Block "<name>" is not installed.`

The command removes the entire block folder. It does not remove blocks that
were installed as dependencies. If you installed `tabs` which pulled in
`tab-item`, removing `tabs` leaves `tab-item` in place.

## Examples

Interactive removal:

```bash
npx blockstudio remove hero
```

Skip confirmation:

```bash
npx blockstudio remove hero --yes
```
