Tutorial: Creating Your First Feed
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.
Open your Azure DevOps project. In the left-hand navigation pane, under the Pipelines section, click on Artifacts.
Once in the Artifacts view, you'll see a dropdown menu showing your current feeds. Click on this dropdown and select + New feed.
A modal dialog will appear. You need to provide the following information:
MyProjectPackages
, InternalNuGets
).After filling in the details, click the Create button. Your new feed will be created and ready to use.
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.