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

# ana org channel upload

## Usage

```bash theme={null}
ana org channel upload <FILES>... --channel <CHANNEL> [OPTIONS]
```

> [!NOTE]
>
> Options marked anaconda-client 1.16.0 or later are not available through `ana org` yet, because the Anaconda CLI includes `anaconda-client` 1.15.0. To use them, run the equivalent `anaconda` command from a conda environment with `anaconda-client` 1.16.0 or later installed, as shown in the examples.

## Description

Uploads packages to one or more channels. Files can be specified as paths or glob patterns.

You can specify channels in two ways:

* **Simple name with `--namespace`**: `--channel my-channel --namespace my-org`
* **Combined format**: `--channel my-org/my-channel`

You can upload to multiple channels by specifying `--channel` multiple times.

In `anaconda-client` 1.16.0 or later, when the target resolves to an anaconda.org owner (rather than an anaconda.com repository channel), the upload uses the anaconda.org upload path, and you can apply labels with `--label`.

## Arguments

Argument

Description

`<FILES>`

Files to upload (supports glob patterns)

## Options

Option

Description

`-c, --channel <CHANNEL>`

Required. Target channel(s) in `namespace/channel` or `channel` format. Can be specified multiple times.

`-n, --namespace <TEXT>`

Namespace for the channel (alternative to `namespace/channel` format)

`-l, --label <LABEL>`

anaconda-client 1.16.0 or later anaconda.org label to apply (only when the target resolves to anaconda.org). Can be specified multiple times.

`-t, --package-type <TYPE>`

Package type. Defaults to auto-detect based on file extension.

`-h, --help`

Show help for this command

## Examples

**Upload a package to a channel**

```bash theme={null}
ana org channel upload my-package-1.0.0.tar.bz2 --channel my-org/my-channel
```

**Upload multiple packages using a glob pattern**

```bash theme={null}
ana org channel upload *.conda --channel my-channel --namespace my-org
```

**Upload to multiple channels**

```bash theme={null}
ana org channel upload my-package.conda --channel my-org/channel-1 --channel my-org/channel-2
```

**Upload with a specific package type**

```bash theme={null}
ana org channel upload my-package.tar.gz --channel my-org/my-channel --package-type conda
```
