# Creating and then using a local OpenWrap repository

January 03, 2011 in

When I looked at this blog post here about setting up a NuGet local repository I couldn’t help but write up the necessary steps to get a local repository with OpenWrap:

#### I’m not sure so let’s ask OpenWrap

```PS C:\dotnet\dev\github> o get-help add-remote
COMMAND
DESCRIPTION
USAGE
PARAMETERS
-Name <String>
Specifies the name used to identify this remote repository.
-Href <Uri>
Specifies the URI used to access this remote.

file://[servername]/path/ for local or UNC paths
http://[servername] for OpenWrap repositories
nupack://[servername]/path for NuPack repositories```

Ah, ok.

#### o add-remote –name local –href file:///C:/dotnet/openwrap

Now we have a local repository.

You can use it by e.g. adding packages:

#### o publish-wrap fancyproject –remote local

When I ask my local repository what it contains it gives me...

```PS C:\dotnet\dev\github> o list-wrap -remote local
- MemBus (available: 1.0.0.22806675, 1.0.1.23707739)