ApiLens 1.0.7
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global ApiLens --version 1.0.7
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local ApiLens --version 1.0.7
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=ApiLens&version=1.0.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package ApiLens --version 1.0.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
ApiLens
A .NET global tool for indexing and querying .NET XML API documentation using Lucene.NET.
Installation
dotnet tool install --global ApiLens
Quick Start
# Analyze your solution (indexes all dependencies)
apilens analyze ./MySolution.sln
# Explore a package interactively
apilens explore Newtonsoft.Json
# Search for APIs
apilens query JsonSerializer
# Find code examples
apilens examples "async await"
# Discover type hierarchies
apilens hierarchy Exception --show-members
Key Features
- Solution Analysis: Analyzes .NET projects/solutions and indexes all dependencies
- NuGet Support: Auto-discovers and indexes packages from NuGet cache
- Smart Indexing: Consistent index location with environment variable support
- Rich Queries: Full-text search, wildcards, type hierarchies, complexity analysis
- Multiple Formats: Table (human), JSON (machine), Markdown (docs)
- MCP Ready: Designed for LLM integration via Model Context Protocol
Core Commands
analyze- Analyze and index project/solution dependenciesexplore- Interactive package explorationindex- Index XML documentation filesquery- Search API documentationhierarchy- Explore type relationshipsexamples- Find code examplesexceptions- Find exception informationcomplexity- Analyze method complexitymembers- List type memberslist-types- Browse available typesnuget- Index NuGet cachestats- Display index statistics
Index Management
ApiLens stores its index in a consistent location:
- Custom:
--index /path/to/index - Environment:
APILENS_INDEX=/path/to/index - Default:
~/.apilens/index
Documentation
Full documentation and source code: https://github.com/endjin/ApiLens
License
Apache 2.0
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.