Microsoft Visual Studio releases LibMan CLI

Microsoft has announced the release of Command Line Interface (CLI) for Microsoft Library Manager (LibMan), a cross-platform program which can be used across Windows, Mac, and Linux provided the .NET Core is supported, on Wednesday.

Microsoft has announced the release of Command Line Interface (CLI) for Microsoft Library Manager (LibMan) on Wednesday. LibMan CLI is a cross-platform program which can be used across Windows, Mac, and Linux provided the .NET Core is supported.

The release of this web development tool was announced at the company’s ASP.NET blog. After installation, the program can be used directly from the root of one’s web project or from any folder. While using LibMan CLI, actions can be initiated by beginning the commands with “libman”. As an example, when installing any program or a library, you have to type -

  1. > dotnet tool install --global Microsoft.Web.LibraryManager.Cli  
  2. > libman install jquery  

By following the prompts, the provider and the destination can be selected and then the user can enter specific values or can just press Enter to accept the default values.

The use of this operation creates a ‘libman.json’ file in the current directory if there isn’t one, and then adds the new library configuration. It then downloads the files and places them in the destination folder.

The Command Line Interface (CLI) is now available for Microsoft Library Manager (LibMan) and can be downloaded via NuGet here.

To learn more, visit the ASP.NET blog or refer to the LibMan CLI documentation on the Library Manager Wiki.