Private NuGet Repository

One feed for your own NuGet packages and nuget.org's, with no server for you to run. Restore and push with the dotnet you already use. Your token stays in your environment, never in a file.

Every feature on every plan, from $99/month billed annually.

14 days free. No credit card required.

Serving developers since 2016 Founder-run, no venture capital

nuget.config
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <clear />
    <add key="cloudrepo" value="https://your-org.mycloudrepo.io/repositories/your-repo/index.json" protocolVersion="3" />
  </packageSources>
  <auditSources>
    <clear />
    <add key="nuget.org-audit" value="https://data.nuget.org/v3/index.json" />
  </auditSources>
  <packageSourceCredentials>
    <cloudrepo>
      <add key="Username" value="you@example.com" />
      <add key="ClearTextPassword" value="%CLOUDREPO_TOKEN%" />
    </cloudrepo>
  </packageSourceCredentials>
</configuration>

What you get

A private NuGet feed for your team, and nothing to keep running.

  • One feed for everything A group serves your own packages and nuget.org's from one URL. Your nuget.config names that one source.
  • The dotnet CLI, as it is Restore, add and push with dotnet. There is nothing else to install.
  • nuget.org through a proxy Public packages come through a proxy of nuget.org, so your builds need only your feed.
  • No token in the file nuget.config reads your token from CLOUDREPO_TOKEN. The file holds no secret, so you can commit it.
  • In early access NuGet repositories are new. What you tell us shapes what comes next.

Set up dotnet

In the portal, create three NuGet repositories: a hosted one for your packages, a proxy of nuget.org, and a group of the two. Make a repository token that covers all three. Then three steps.

Restore

Save nuget.config beside your solution, with your group's name in place of your-repo. Set CLOUDREPO_TOKEN to your repository token, in your shell or as a CI secret. Then restore.

Terminal
dotnet restore

Add a package

Packages from nuget.org come through the group. Add one the usual way.

Terminal
dotnet add package Newtonsoft.Json --version 13.0.3

Push your own

Add your hosted repository to nuget.config as a second source named cloudrepo-push (the guide has the file). Then pack and push to it.

Terminal
dotnet pack -c Release -o out
dotnet nuget push out/*.nupkg --source cloudrepo-push

Every step, in the docs

The guide has both nuget.config files and what each error means.

Comparing vendors? Read the JFrog alternative breakdown, or the same rundown of Nexus alternatives.

Restore your first package today

14 days free. No credit card required.

Starting at $99/month billed annually.

Chris Shellenbarger, founder of CloudRepo

Founder-run since 2016, with no venture capital. A real person answers within one business day. Usually it's me.

Chris, founder of CloudRepo