---
name: "codesearch"
section: "1"
platform: "linux"
package: "debian-codesearch-cli"
version: "1.0.0+nmu1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/codesearch"
---

# codesearch(1)

Debian Codesearch CLI tool

## NAME

codesearch - Debian Codesearch CLI tool

## DESCRIPTION

usage: codesearch \[-h\] \[--max-results MAX\_RESULTS\] \[-q\] \[-l\] \[--nocolor\] \[-n\]

-

  \[-d\] \[-x EXCLUDE\] \[-m {literal,regexp}\] \[--per-package\] searchstring

### positional arguments:

-

  searchstring

### options:

- **-h**, **--help**

  show this help message and exit

**--max-results** MAX\_RESULTS

**-q**, **--quiet**

**-l**, **--linenumber**

- **--nocolor**

  Do not colorize output

- **-n**, **--print-filenames**

  Print only matching filenames, no contents

- **-d**, **--dedupe**

  amalgamate results for the same file in different packages

- **-x** EXCLUDE, **--exclude** EXCLUDE

  list of path fragments to exclude from results

- **-m** {literal,regexp}, **--mode** {literal,regexp}

  search mode (literal or regexp)

- **--per-package**

  group results per source package
