AbstractProtectedconstructorProtected ReadonlyartifactProtected ReadonlychecksumProtected ReadonlydownloadProtected ReadonlydownloaderProtected ReadonlydownloadProtected ReadonlyexecutableProtectedglobalProtected ReadonlyinstallationProtectedlocalOptionalloggerProtected ReadonlyosProtected ReadonlyosProtected ReadonlyrequiredProtectedgetProtected AbstractgetChild classes must implement this to generate the correct artifact name based on version, platform, and architecture
Protected AbstractgetGet the checksum URL for the executable
Protected AbstractgetGet the download URL for the executable
Get the path to the executable (global or local)
Get the tool's required version
Determine if checksum verification should be performed Child classes can override this if needed
AbstractgetInstall the tool
Check if the given installation meets version requirements
Check if the tool is installed locally
ProtectedpreHook for any pre-installation steps
Protected AbstractprocessHandle any post-download processing before copying to destination Child classes can override this for custom extraction or processing
Returns a promise that invokes the shell command
Hook for setting up any configuration after installation Child classes can override this if needed
Hook to determine if installation should proceed Child classes can override this for custom logic
Uninstall the local version
Base class for dependency managers that download and manage CLI tools Common functionality for downloading, checking versions, and managing executables