Skip to content

install_ilspy

Diagnostics

Install or update ilspycmd, the ILSpy command-line decompiler. This tool detects your platform and package manager, optionally installs the .NET SDK if it is missing, and then installs ilspycmd as a global .NET tool.

ParameterTypeRequiredDefaultDescription
updateboolNofalseUpdate ilspycmd to the latest version even if already installed
install_dotnet_sdkboolNofalseAttempt to install the .NET SDK if it is missing (may require sudo)
PlatformPackage Manager
Arch / Manjaro / EndeavourOSpacman
Ubuntu / Debian / Mintapt
Fedora / RHEL / CentOSdnf
openSUSEzypper
macOShomebrew
Windowswinget / chocolatey
{
"tool": "install_ilspy",
"arguments": {
"install_dotnet_sdk": true
}
}

On success, reports the installed version and path. On failure, returns platform-specific instructions for manual installation. If the .NET SDK is missing and install_dotnet_sdk is not set, the response includes the recommended install command for your detected platform.