-
Notifications
You must be signed in to change notification settings - Fork 83
Using LibMan CLI
> dotnet tool install -g libman
> libman install jquery
Will prompt for default provider if there is no defaultProvider in libman.json.
Will prompt for destination if there is no defaultDestination in libman.json
> libman install [email protected]
Will install a specific version of the library.
Note: Syntax is [LibraryName]@[LibraryVersion] for all providers except File System.
> libman install twitter-bootstrap --destination wwwroot/lib/bootstrap
Will install to the specified destination folder
> libman restore
> libman uninstall jquery
> libman update jquery
Will update to the latest version of the library.
> libman update jquery --to 2.2.0
Will update to a specific version of the library.
> libman clean
Will remove from your project all files that were restored.
> libman cache list
Will print a list of all libraries that exist in the cache
> libman cache list --files
Will print a list of all libraries that exist in the cache, listing all files in the library cache.
> libman cache clean
Will remove all files in the local machine's cache.
> libman cache clean --provider cdnjs
Will remove all files in the local machine's cache for the specified provider.