Share packages publicly

Azure DevOps Services

Azure Artifacts provides an easy way to share packages to users outside your organization using public feeds. Packages that are stored in public feeds can be restored, installed, or consumed by anyone on the Internet.

Prerequisites

Create public feeds

Public feeds are project-scoped feeds in a public project. Public feeds inherit the hosting project's visibility settings.

Note

Organization-scoped feeds cannot be converted into project-scoped feeds.

  1. Navigate to your public project, and then select Artifacts.

    Screenshot showing Artifacts in the Azure DevOps dashboard.

  2. Select Create Feed.

    Screenshot showing the create feed button.

  3. Give your feed a Name and select Project: PublicProject (Recommended) for scope.

    Screenshot showing how to create a new public feed.

  4. Select Create when you are done.

Publish packages

Important

Universal Packages are not supported in public feeds.

If you want to publish NuGet packages using the dotnet or nuget CLI, make sure you have the latest Azure Artifacts Credential Provider.

Publish packages using the command line

Publish packages using Azure Pipelines

Share packages

Important

Upstream sources are not supported in public feeds.

To share your packages publicly, you can simply post/share your feed URL (example: https://dev.azure.com/<org_name>/<project_name>/_packaging?_a=feed&feed=<feed_name>), or share individual packages with package badges.

Screenshot showing a NuGet package badge.

As long as your project is kept public, anyone can view and download packages from your public feed. Anonymous users will not be able to create new feeds or access the recycle bin.

Screenshot showing packages in the public feed.

Note

Package badges are only available for released versions. The criteria for what is considered a released version depends on the protocol type. Pre-released version numbers will not be displayed in badges, instead the badge will show the latest released version.