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

# Managing your hosted packages

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>;
};

Anaconda.org has many options for managing the information associated with your hosted packages or for managing package permissions and access to collaborators or members of your organization.

## Adding a collaborator to a package

You can add other users that are not part of an organization to collaborate on your packages.

1. From your dashboard, select the package.
2. Select **Manage**.
3. To display the package settings, select the **Settings** option.
4. To display the current collaborators, select the **Collaborators** option.
5. Enter the username of the person you want to add as a collaborator, then click **Add**.

<Note>
  All collaborators are given full read/write permissions to the package, *even for private packages*.
</Note>

## Removing a collaborator from a package

To revoke package access previously granted to a collaborator:

1. From your dashboard, select the package.
2. Select **Manage**.
3. To display the package settings, select the **Settings** option.
4. To display the current collaborators, select the **Collaborators** option.
5. Click the red **X** beside a collaborator to revoke their access.

## Transferring a package to a new owner

By default, when you create or add packages, they are attached to your individual profile. You can transfer ownership to another owner account you control, such as an organization profile you manage.

To transfer a package to a new owner:

1. From your dashboard—or the dashboard of an organization you administer—select the package for which you want to transfer ownership.
2. Select **Manage**.
3. To display the package settings, select the **Settings** option.
4. Select the **Admin** option.
5. Under **Transfer this package to a new owner**, click **Transfer**.
6. Select the organization name for the new owner.
7. Click **Transfer Ownership**.

## Copying a package

The following command is an example of how to copy a package from the `conda-forge` channel to a personal channel called `jsmith`:

```sh theme={null}
anaconda copy conda-forge/glueviz/0.10.4 --to-owner jsmith
```

`conda-forge/glueviz/0.10.4` is a "spec" that can be formatted in one of two ways: `user/package/version` or `user/package/version/filename`.

<Warning>
  The `anaconda copy` commands `from-channel` and `to-channel` have been deprecated. If you attempt to run `anaconda copy --from-channel conda-forge --to-channel jsmith glueviz`, you will receive an error that `Label conda-forge does not exist`.
</Warning>

<Warning>
  If the package `glueviz/0.10.4` already exists for user `jsmith`, you will receive the following error message: `File conflict while copying!`. If you want to copy the package anyway, try prepending the command with one of the following flags:
  `--replace` - allows you to overwrite an already existing package

  `--update` - allows you to add missing metadata to an existing package
</Warning>

## Removing a previous version of a package

To remove a previous version of one of your packages from Anaconda.org:

1. From your dashboard, select the package.
2. Select **Manage**.
3. Navigate to the **Files** tab.
4. Select the checkbox to the left of the version you want to remove.
5. In the **Actions** menu, select **Remove**.

To remove a previous version of one of your packages using [Anaconda Prompt](/reference/glossary#anaconda-prompt) (Terminal on macOS/Linux), run:

```sh theme={null}
anaconda remove <USERNAME>/<PACKAGE>/<VERSION_NUMBER>
```

<Comments>
  Replace \<USERNAME> with your username.<br />
  Replace \<PACKAGE> with the package name.<br />
  Replace \<VERSION\_NUMBER> with the preferred version.
</Comments>

You can now see the change on your profile page at `http://anaconda.org/<USERNAME>/<PACKAGE>`, where `<USERNAME>` is your username and `<PACKAGE>` is the package name.

## Hiding package install instructions

After you have uploaded packages to an account or organization, you can control what install instructions appear on your package's download page. Install instructions will vary depending on the package's labels or package type (conda or standard Python).

To edit the visibility of your package install instructions:

1. From your dashboard, select the package.
2. Select **Manage**.
3. Select **Edit**.
4. Select the checkboxes for the instructions you want to hide. You can also select the checkbox on the far right of any group to hide all instructions.
5. Select **Save Changes**.

   <Frame>
     <img src="https://mintcdn.com/anaconda-29683c67/P1ld-h8I-kfI63Kh/images/org-package-install-hide.png?fit=max&auto=format&n=P1ld-h8I-kfI63Kh&q=85&s=3266d0556a8c38aa31c3a9719be4abdd" alt="A set of selection options for making install instructions visible on the package detail page" width="1968" height="948" data-path="images/org-package-install-hide.png" />
   </Frame>

## Deleting a package

You can delete packages using Anaconda.org's user interface or by using a command line interface (CLI), such as Anaconda Prompt on Windows or Terminal on macOS/Linux.

<Tabs>
  <Tab title="Using Anaconda.org">
    To delete a package and all of its versions from Anaconda.org:

    1. From your dashboard, select the package.
    2. Select **Manage**.
    3. Select the **Settings** option.
    4. Select the **Admin** option.
    5. Click **Delete**.
  </Tab>

  <Tab title="Using the CLI">
    To delete a package and all of its versions using Anaconda Prompt (Terminal on macOS/Linux), run:

    ```sh theme={null}
    anaconda remove <USERNAME>/<PACKAGE>
    ```

    <Comments>
      Replace \<USERNAME> with your username.<br />
      Replace \<PACKAGE> with the package name.
    </Comments>
  </Tab>
</Tabs>

The removed package will no longer appear in the list of packages on your profile page at `http://anaconda.org/<USERNAME>`, where `<USERNAME>` is your Anaconda.org username.

## Updating package metadata

Much of the metadata provided in your package's meta.yaml file appears on your package's download page. This is information like your package's license, description, Git repository URL, and documentation URLs. For more information on what is usually contained in conda-build's meta.yaml file, see the [conda-build documentation](https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html).

Anaconda Client automatically updates metadata defined in the meta.yaml file of your package upload, *as long as the package version number has never been uploaded previously*. To update your metadata without needing a new package version, use `--force-metadata-update`.

```sh theme={null}
anaconda upload /your/path/conda-package.tar.bz2 --force-metadata-update
```
