Share your packages publicly
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.
Public feeds are project-scoped feeds that live inside a public project. You cannot convert an existing organization-scoped feed into a project-scoped feed or a public feed.
To learn more about feeds and their scopes, check out our feeds documentation.
- A public project. If you don't have one, create one now
Create a feed
Go to Azure Artifacts in a public project:
Select + New public feed:
In the dialog box:
- Give the feed a name.
- Select Create feed.
Publish your packages
Now that you have a public feed, it's time to populate it with packages!
Public feeds cannot store Universal Packages.
If you're publishing using NuGet or Dotnet and you're using a credential provider to authenticate, public feeds require you to use the new credential provider instead of the older
CredentialProvider.VSS.exe. You can learn more about the new credential provider, including install and setup instructions in the artifacts-credprovider GitHub repo.
From the command line
The following articles are quick guides that show you how to set up authentication and publish packages to your public feed from the command line. You can skip the "Create a feed" step in the following guides.
- Quickstart - Push and consume NuGet packages
- Quickstart - Push and consume npm packages
- Quickstart - Push and consume Maven packages
- Quickstart - Push and consume Python packages
From Azure Pipelines
The following articles cover publishing packages to feeds from builds within Azure Pipelines:
- Publish NuGet packages from Azure Pipelines
- Publish npm packages from Azure Pipelines
- Setting up Maven and Azure Pipelines
- Publish Python packages from Azure Pipelines
Share your packages
Public feeds aren't intended to be a replacement for registries of record like NuGet.org or npmjs.com, and public feeds cannot have upstream sources.
To start sharing your packages, simply post or send your feed URL wherever you wish:
Sample feed URL:
As long as your project is public, anonymous and guest users will be greeted by the feed UX where they can see the available packages and learn how to consume them. Anonymous users will not have access to all features. E.g. Creating new feeds or accessing the recycle bin.
You can also share individual packages with badges which look like the example below.
Package badges can only be created and shared for released versions of packages; the criteria for what is considered a released version depends on the protocol type. Pre-released versions will not be displayed in badges, instead the badge will show the latest release version.