# Create a Go Repository

To install or publish Go packages, creation of a Go repository is required. Check out [Nexus Repository Management](https://help.sonatype.com/en/repository-management.html "Repository Management") and [Repository Types](https://help.sonatype.com/en/repository-types.html "Repository Types") to learn more.

## Go Proxy Repository

**Note**  
Go proxy repository stores only the Go modules and not the Checksum data.

If you want to cache the checksum data which is optional, create a _raw (proxy)_ repository and point the _Remote storage URL_ to [https://sum.golang.org](https://sum.golang.org/). Make sure to uncheck the _Strict Content Type Validation_.

Use Nexus proxy repository when you want to download packages and centralize package caching of external dependencies. To learn more, check [Proxy Repositories](https://help.sonatype.com/en/repository-types.html#proxy-repository-type "Proxy Repository Type").

To create a new Go proxy repository, take the following steps:

1. Navigate to _Settings_ → _Repository_ → _Repositories_.
2. Select the _Create repository_ button.
3. From the list of Recipes, select _go (proxy)_.
4. In the form that appears, complete the required fields.
   - Repository Name, for example _go-proxy_  
   - Remote storage URL, for example [https://proxy.golang.org](http://https//proxy.golang.org)  
   - Blob store
5. Complete the additional fields for configurations you want to add for your repository. Available configurations differ by repository format and type. See [Configurable Repository Fields](https://help.sonatype.com/en/configurable-repository-fields.html "Configurable Repository Fields") for more details.
6. Select _Create repository_.

## Go Hosted Repository

Use Nexus hosted repository when you want to publish and store your own internal artifacts and third-party components, so they can be consumed via Nexus. To learn more, check [Hosted Repositories](https://help.sonatype.com/en/repository-types.html#hosted-repository-type "Hosted Repository Type").

To create a new Go hosted repository, take the following steps:

1. Navigate to _Settings_ → _Repository_ → _Repositories_.
2. Select the _Create repository_ button.
3. From the list of Recipes, select _go (hosted)_.
4. In the form that appears, complete the required fields.
   - Repository Name, for example _go-hosted_  
   - Blob store
5. Complete the additional fields for configurations you want to add for your repository. Available configurations differ by repository format and type. See [Configurable Repository Fields](https://help.sonatype.com/en/configurable-repository-fields.html "Configurable Repository Fields") for more details.
6. Select _Create repository_.

## Go Group Repository

Use Nexus group repository when you want to combine multiple other repositories (proxy, hosted, and other groups) and expose them through a single URL. To learn more, check [Group Repositories](https://help.sonatype.com/en/repository-types.html#group-repository-type "Group Repository Type").

To create a new Go group repository, take the following steps:

1. Navigate to _Settings_ → _Repository_ → _Repositories_.
2. Select the _Create repository_ button.
3. From the list of Recipes, select _go (group)_.
4. In the form that appears, complete the required fields.
   - Repository Name, for example _go-group_  
   - Blob store  
   - Member repositories in the desired order.
5. Complete the additional fields for configurations you want to add for your repository. Available configurations differ by repository format and type. See [Configurable Repository Fields](https://help.sonatype.com/en/configurable-repository-fields.html "Configurable Repository Fields") for more details.
6. Select _Create repository_.

## Search results

No results found.
