Azure DevOps Artifacts

Tutorial: Creating Your First Feed

Creating a Feed in Azure Artifacts

Azure Artifacts allows you to host your own private package feeds, such as NuGet, npm, Maven, and Python packages. This tutorial will guide you through the process of creating a new feed in your Azure DevOps project.

1

Navigate to Artifacts

Open your Azure DevOps project. In the left-hand navigation pane, under the Pipelines section, click on Artifacts.

Placeholder for Azure DevOps Artifacts Navigation Screenshot
2

Create a New Feed

Once in the Artifacts view, you'll see a dropdown menu showing your current feeds. Click on this dropdown and select + New feed.

Placeholder for New Feed Button Screenshot
3

Configure Your Feed

A modal dialog will appear. You need to provide the following information:

  • Name: Give your feed a descriptive name (e.g., MyProjectPackages, InternalNuGets).
  • Visibility: Choose whether the feed should be Project only or Organization. Project only is recommended for most cases.
  • Upstream sources: You can choose to include public registries (like NuGet.org, npmjs.com) as upstream sources. This allows you to proxy and cache packages from these public sources. Select Public registries and check the desired ones.
Placeholder for New Feed Configuration Modal Screenshot
4

Save the Feed

After filling in the details, click the Create button. Your new feed will be created and ready to use.

5

Connect to Your Feed

Once the feed is created, click on the Connect to feed button. This will provide you with the necessary connection strings and instructions for your chosen package manager (e.g., NuGet CLI, npm CLI, pip).

For example, to connect to a NuGet feed, you might use a command like:

dotnet nuget add source "https://pkgs.dev.azure.com/YourOrg/YourProject/_packaging/MyProjectPackages/nuget/v3/index.json" --name "MyProjectPackages" --store-password-in-clear-text

Remember to replace placeholders with your actual organization, project, and feed names.

Placeholder for Connect to Feed Instructions Screenshot