@nu-art/commando
Version:
19 lines (18 loc) • 696 B
TypeScript
import { Logger } from '@nu-art/ts-common';
import { Commando_NVM } from '../plugins/nvm';
export declare class Cli_NVM extends Logger {
private _expectedVersion;
private _homeEnvVar;
constructor();
get homeEnvVar(): string;
set homeEnvVar(value: string);
get expectedVersion(): string;
set expectedVersion(value: string);
install: (commando: Commando_NVM) => Promise<boolean | this | undefined>;
isInstalled: () => boolean;
getRequiredNode_Version: () => Promise<string>;
installRequiredVersionIfNeeded: (commando: Commando_NVM) => Promise<boolean>;
uninstall: () => Promise<void>;
private installVersion;
}
export declare const NVM: Cli_NVM;