> ## 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 org upload

export const GCell = ({children, className}) => <div className={`grid-table-cell ${className || ""}`} role="cell">
    {children}
  </div>;

export const GTH = ({children, className}) => <div className={`grid-table-th ${className || ""}`} role="columnheader">
    {children}
  </div>;

export const GRow = ({children}) => <div className="grid-table-row" role="row">{children}</div>;

export const GBody = ({children}) => <div className="grid-table-body" role="rowgroup">{children}</div>;

export const GHead = ({children}) => <div className="grid-table-head" role="rowgroup">{children}</div>;

export const GTable = ({children, className, cols}) => <div className={`grid-table not-prose overflow-hidden rounded-2xl ${className || ""}`} style={{
  "--grid-table-cols": cols
}} role="table">
    {children}
  </div>;

export const Comments = ({children}) => {
  return <div class="my-4 px-5 py-4 overflow-hidden rounded-2xl flex gap-3 border border-zinc-500/20 bg-zinc-50/50 dark:border-zinc-500/30 dark:bg-zinc-500/10" data-callout-type="comments">
      <div class="w-4">
        <svg width="14" height="14" viewBox="0 0 640 640" fill="currentColor" xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" aria-label="Comments">
            <path d="M320 112C434.9 112 528 205.1 528 320C528 434.9 434.9 528 320 528C205.1 528 112 434.9 112 320C112 205.1 205.1 112 320 112zM320 576C461.4 576 576 461.4 576 320C576 178.6 461.4 64 320 64C178.6 64 64 178.6 64 320C64 461.4 178.6 576 320 576zM280 400C266.7 400 256 410.7 256 424C256 437.3 266.7 448 280 448L360 448C373.3 448 384 437.3 384 424C384 410.7 373.3 400 360 400L352 400L352 312C352 298.7 341.3 288 328 288L280 288C266.7 288 256 298.7 256 312C256 325.3 266.7 336 280 336L304 336L304 400L280 400zM320 256C337.7 256 352 241.7 352 224C352 206.3 337.7 192 320 192C302.3 192 288 206.3 288 224C288 241.7 302.3 256 320 256z" />
        </svg>
      </div>
      <div class="text-sm prose min-w-0 w-full">
        {children}
      </div>
    </div>;
};

## Usage

```bash theme={null}
anaconda org upload <FILE> [files ...] [OPTIONS]
```

<Comments>
  Replace \<FILE> with the path(s) to the distribution file(s) to upload.
</Comments>

## Description

Uploads packages to your Anaconda repository. The CLI auto-detects the package type from the file when `--package-type` is not specified.

## Arguments

<GTable cols="20% 80%">
  <GHead>
    <GRow>
      <GTH>Argument</GTH>
      <GTH>Description</GTH>
    </GRow>
  </GHead>

  <GBody>
    <GRow>
      <GCell>`<FILE>`</GCell>
      <GCell>Distribution file(s) to upload (required)</GCell>
    </GRow>
  </GBody>
</GTable>

## Options

<GTable cols="25% 25% 50%">
  <GHead>
    <GRow>
      <GTH>Option</GTH>
      <GTH>Default</GTH>
      <GTH>Description</GTH>
    </GRow>
  </GHead>

  <GBody>
    <GRow>
      <GCell>`-u, --user <USER>`</GCell>
      <GCell>Current user</GCell>
      <GCell>User account or organization to upload to</GCell>
    </GRow>

    <GRow>
      <GCell>`-l, --label <LABEL>`</GCell>

      <GCell />

      <GCell>Add the file to a specific label (can be specified multiple times)</GCell>
    </GRow>

    <GRow>
      <GCell>`-t, --package-type <TYPE>`</GCell>
      <GCell>The type(s) in the uploaded file(s)</GCell>
      <GCell>Set the package type: `conda`, `env`, `file`, `ipynb`, `pypi`, `r`, `project`, `installer`</GCell>
    </GRow>

    <GRow>
      <GCell>`-p, --package <PACKAGE>`</GCell>
      <GCell>The name(s) in the uploaded file(s)</GCell>
      <GCell>Package name</GCell>
    </GRow>

    <GRow>
      <GCell>`-v, --version <VERSION>`</GCell>
      <GCell>The version(s) in the uploaded file(s)</GCell>
      <GCell>Package version</GCell>
    </GRow>

    <GRow>
      <GCell>`-s, --summary <SUMMARY>`</GCell>

      <GCell />

      <GCell>Set a short summary for the package</GCell>
    </GRow>

    <GRow>
      <GCell>`-d, --description <DESCRIPTION>`</GCell>

      <GCell />

      <GCell>Set a description of the file(s)</GCell>
    </GRow>

    <GRow>
      <GCell>`--thumbnail <THUMBNAIL>`</GCell>

      <GCell />

      <GCell>Notebook thumbnail image path</GCell>
    </GRow>

    <GRow>
      <GCell>`--private`</GCell>
      <GCell>`false`</GCell>
      <GCell>Create the package with private access</GCell>
    </GRow>

    <GRow>
      <GCell>`--no-progress`</GCell>
      <GCell>`false`</GCell>
      <GCell>Do not show upload progress</GCell>
    </GRow>

    <GRow>
      <GCell>`--keep-basename`</GCell>
      <GCell>`false`</GCell>
      <GCell>Do not normalize the conda package basename</GCell>
    </GRow>

    <GRow>
      <GCell>`--register`</GCell>

      <GCell />

      <GCell>Create a new package namespace if it does not exist</GCell>
    </GRow>

    <GRow>
      <GCell>`--no-register`</GCell>

      <GCell />

      <GCell>Do not create a package namespace if it does not exist</GCell>
    </GRow>

    <GRow>
      <GCell>`--force`</GCell>
      <GCell>`false`</GCell>
      <GCell>Force upload regardless of errors</GCell>
    </GRow>

    <GRow>
      <GCell>`--skip-existing`</GCell>
      <GCell>`false`</GCell>
      <GCell>Skip upload if the package already exists</GCell>
    </GRow>

    <GRow>
      <GCell>`-m, --force-metadata-update`</GCell>
      <GCell>`false`</GCell>
      <GCell>Overwrite existing release metadata with the metadata from the uploaded file</GCell>
    </GRow>

    <GRow>
      <GCell>`-i, --interactive`</GCell>
      <GCell>`false`</GCell>
      <GCell>Run an interactive prompt if any packages are missing</GCell>
    </GRow>

    <GRow>
      <GCell>`-f, --fail`</GCell>

      <GCell />

      <GCell>Fail if a package or release does not exist</GCell>
    </GRow>

    <GRow>
      <GCell>`--build-id <BUILD_ID>`</GCell>

      <GCell />

      <GCell>Anaconda repository Build ID (internal)</GCell>
    </GRow>

    <GRow>
      <GCell>`-h`</GCell>

      <GCell />

      <GCell>Show help for this command</GCell>
    </GRow>
  </GBody>
</GTable>

## Examples

**Upload a conda package**

```bash theme={null}
anaconda org upload numpy-1.21.0-py39_0.conda
```

**Upload multiple conda packages**

```bash theme={null}
anaconda org upload numpy-1.21.0-py39_0.conda scipy-1.7.0-py39_0.conda
```

**Upload with custom metadata**

```bash theme={null}
anaconda org upload numpy-1.21.0-py39_0.conda --summary "Numerical computing library" --private
```

**Upload to a specific label**

```bash theme={null}
anaconda org upload numpy-1.21.0-py39_0.conda --label dev
```

**Upload to a specific user or organization**

```bash theme={null}
anaconda org upload numpy-1.21.0-py39_0.conda --user my-org
```

**Upload multiple files, skipping existing ones**

```bash theme={null}
anaconda org upload *.conda --skip-existing
```
