# 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.

[Start free trial](https://www.cloudrepo.io/signup) [View setup guide](#setup)

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>
```

## Included on every plan

Plans differ only in storage and transfer allowance.

- [SSO (SAML, OIDC)](https://www.cloudrepo.io/docs/authenticate/mfa-and-sso.html)
- [Multi-factor authentication (MFA)](https://www.cloudrepo.io/docs/manage/mfa.html)
- [Audit log](https://www.cloudrepo.io/docs/manage/audit-log.html)
- [Repository tokens](https://www.cloudrepo.io/docs/authenticate/repository-tokens.html)
- [Unlimited users, no per-seat pricing](https://www.cloudrepo.io/pricing)
- [Human support](https://www.cloudrepo.io/about-us)
- [Maven](https://www.cloudrepo.io/docs/formats/maven.html), [npm](https://www.cloudrepo.io/docs/formats/npm.html), [Python](https://www.cloudrepo.io/docs/formats/python.html), [Docker](https://www.cloudrepo.io/docs/formats/docker.html) with [Helm charts](https://www.cloudrepo.io/docs/formats/helm.html) and [plain files](https://www.cloudrepo.io/docs/formats/raw.html)
- [Proxy repositories](https://www.cloudrepo.io/docs/consume/proxy-repositories.html)
- Access log
- [SCIM](https://www.cloudrepo.io/docs/authenticate/scim.html)

## 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.

- **[Use NuGet with dotnet](https://www.cloudrepo.io/docs/consume/nuget.html)** Create the three repositories, restore, add a package and push
- **[Repository tokens](https://www.cloudrepo.io/docs/authenticate/repository-tokens.html)** Make the token dotnet reads from CLOUDREPO_TOKEN

Comparing vendors? Read the [JFrog alternative](https://www.cloudrepo.io/jfrog-alternative) breakdown, or the same rundown of [Nexus alternatives](https://www.cloudrepo.io/nexus-alternative).

## Restore your first package today

14 days free. No credit card required.

Starting at $99/month billed annually.

[Start free trial](https://www.cloudrepo.io/signup) [View pricing](https://www.cloudrepo.io/pricing)

![Chris Shellenbarger, founder of CloudRepo](https://www.cloudrepo.io/_astro/chris-headshot-150.DWO5wLdz.jpg)

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

Chris, founder of CloudRepo

[Book time with Chris](https://www.cloudrepo.io/meet)

---

The page: https://www.cloudrepo.io/nuget
