===================
Uploading a package
===================


To upload a package to Repository, using the Client CLI, run the
:ref:`upload <cli-upload>` command::

     anaconda login
     anaconda upload PACKAGE


NOTE: Replace ``PACKAGE`` with the name of the desired package.

Repository automatically detects packages and notebooks, package
or notebook types, and their versions.

Your package is now available at::

  https://<your-anaconda-repo>/USERNAME/PACKAGE

NOTE: ``<your-anaconda-repo>`` is the name of your local
Repository, ``USERNAME`` is your username and ``PACKAGE`` is the
package name.

Anyone can download your package by using Client::

  anaconda download USERNAME/PACKAGE

NOTE: ``USERNAME`` is their username, and ``PACKAGE`` is your
package name.

If you want to restrict access to your package, see
:doc:`control-access`.
