2

Following the sphinx-autoapi integration with docfx guide, they suggest installing docfx using the following command:

Install DocFX using DNU (deprecated ?)

dnu commands install docfx

Did DNU get retired - I just ended up using chocolatey, but it seems like global commands have been dropped in .NET Core CLI. Hoping someone can confirm what happened to .NET Utilities.

Install DocFX using Chocolatey

choco install docfx
Community
  • 1
  • 1
SliverNinja - MSFT
  • 31,051
  • 11
  • 110
  • 173

1 Answers1

1

The dnvm repository says it's obsolete, but the dotnet repository isn't really providing a command translation. This Microsoft article on migrating says there's no equivalent dotnet install command.

Installing dependencies

As of v1, the .NET Core CLI tools don't have an install command for installing dependencies. In order to install a package from NuGet, you would need to add it as a dependency to your project.json file and then run dotnet restore.

This other answer confirms that it's obsolete/replaced, but that dnu/dnx can still be used.

Community
  • 1
  • 1
Anthony Mastrean
  • 21,850
  • 21
  • 110
  • 188
  • Thanks @Anthony Mastrean - the [recommended install for DocFX seems to be chocolatey](https://chocolatey.org/packages/docfx) which they [automatically target for releases](https://github.com/dotnet/docfx). The `sphinx-autoapi` docs is out of date. – SliverNinja - MSFT Dec 02 '16 at 16:01