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

# magnet search

> Search Magnet issues and pages from the command line.

The `magnet search` command searches across your workspace's issues and pages.

## Usage

```bash theme={null}
magnet search "login redirect"
```

## Options

| Option           | Description                                                         |
| ---------------- | ------------------------------------------------------------------- |
| `--types <list>` | Comma-separated types to search: `issue`, `page`. Defaults to both. |

## Examples

Search only issues:

```bash theme={null}
magnet search "redirect loop" --types issue
```

Search only pages:

```bash theme={null}
magnet search "architecture" --types page
```
