---
url: https://docs.mochiexec.io/reference/cli/mochi_search.md
description: Search executables and workspaces
---

# mochi search

Search executables and workspaces

## Synopsis

Searches executables and workspaces. Results rank by how well the name matches, whether it's a favorite, and how often and recently it has run. With no query, lists your favorites and recent executables.

```shell
mochi search [query] [flags]
```

## Options

| Flag | Type | Description |
|------|------|-------------|
| `-h, --help` |  | help for search |
| `-n, --limit` | `int` | Maximum number of results (default 20) |
| `-o, --output` | `string` | Output format: text or json (default "text") |

## Options inherited from parent commands

| Flag | Type | Description |
|------|------|-------------|
| `-L, --log-level` | `string` | Log verbosity level (debug, info, fatal) (default "info") |
| `--sync` |  | Sync flow cache and workspaces |

## See also

* [mochi](mochi.md) — Run and organize your development tasks
