> ## 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.

# anaconda repo upload

## Usage

```bash theme={null}
anaconda repo upload [OPTIONS] <FILES...>
```

## Description

Uploads package files or artifacts to a channel. The CLI detects package type (env, ipynb, conda, pypi, sdist, or gra) from the file when not specified. For general artifacts (gra), `--name` is required.

## Arguments

Argument

Description

`FILES...`

*(required)* Path to file(s) to upload. Globs supported.

## Options

Option

Default

Description

`--channel, -c <CHANNEL>`

default channel

Target channel name (can be repeated for multiple channels)

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

auto-detect

Package type `conda`, `ipynb`, `gra`, `pypi`, `project`, `sdist`, `env`

`--name, -n <NAME>`

Name (required for General Artifacts)

`--version <VERSION>`

Version (optional metadata)

`--no-progress`

Don't show upload progress

`-h, --help`

Show help for this command

## Examples

**Upload a conda package to the default channel**

```bash theme={null}
anaconda repo upload mypackage-1.0-py39_0.conda
```

**Upload to a specific channel**

```bash theme={null}
anaconda repo upload mypackage-1.0-py39_0.conda --channel my-team
```

**Upload a notebook**

```bash theme={null}
anaconda repo upload report.ipynb --channel notebooks
```

**Upload a General Artifact (name required)**

```bash theme={null}
anaconda repo upload dataset.zip --package-type gra --name my-dataset --channel artifacts
```

For `--package-type gra` (General Artifacts), you must supply `--name`. The CLI auto-detects package type from the file when `--package-type` is omitted.
