Nu – Package Management for .NET Open Source

I heard about Nu on the Herding Code podcast and was immediately interested.  Ruby Gems is a great way to distribute open source libraries and manage dependencies.  The .NET scene has been struggling with this issue for quite a while so it’s great to see somebody take on this issue.

Not only does Nu make it super simple to add existing libraries to your project, but it’s also a great resource for finding existing open source projects out there.

I just happened to be building a brand new system so I’ll go through the steps I took to get Nu up and running.

  1. Installed Ruby for Windows using the latest Ruby Installer
  2. Opened a command prompt and ran the following commands:

    c:\gem update --system
    c:\gem update
    c:\gem install activesupport
    c:\gem install nu

  3. Next I navigated to a new project folder and typed the following commands to add NHibernate and FluentNHibernate:

    nu install nhibernate
    nu install fluentnhibernate

That’s it – super simple!