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

# jnc search

> Search for packages in conda channels.

# jnc search

Searches for conda packages in configured channels. When given an exact package name, it displays detailed information about the latest version including dependencies, license, and available builds. Supports wildcard patterns to search across package names.

## Usage

```bash theme={null}
jnc search [OPTIONS] <PACKAGE>
```

## Arguments

| Argument    | Description                                                                  |
| ----------- | ---------------------------------------------------------------------------- |
| `<PACKAGE>` | Name of the package to search for. Supports wildcard patterns (e.g., `py*`). |

## Options

| Option                  | Short | Description                                                                                                                                    |
| ----------------------- | ----- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| `--channel <CHANNEL>`   | `-c`  | The channel to search in. Can be specified multiple times. Uses workspace channels if inside a workspace, otherwise defaults to `conda-forge`. |
| `--platform <PLATFORM>` | `-p`  | The platform to search for. Defaults to the current platform.                                                                                  |
| `--limit <N>`           | `-l`  | Limit the number of search results (applies to wildcard searches).                                                                             |

## Global Options

| Option                   | Short | Description                                                                                  |
| ------------------------ | ----- | -------------------------------------------------------------------------------------------- |
| `--manifest-path <PATH>` | `-m`  | Path to `jnc.toml` or the workspace directory. Used to read workspace channel configuration. |

## Examples

Search for a specific package:

```bash theme={null}
jnc search python
```

Search with a wildcard pattern:

```bash theme={null}
jnc search "py*"
```

Limit search results:

```bash theme={null}
jnc search --limit 10 "numpy*"
```

Search in a specific channel:

```bash theme={null}
jnc search --channel bioconda samtools
```

Search for a different platform:

```bash theme={null}
jnc search --platform linux-aarch64 cuda-toolkit
```
