Use CodeArtifact with the nuget or dotnet CLI - CodeArtifact

Configure the NuGet package manager to consume and publish packages with CodeArtifact.