Methods |
public
|
do(array ...$args): array
Execute Node within the scope of a version
Execute Node within the scope of a version
Parameters
...$args |
optional command arguments
|
Returns
process output from pman_run
|
#
|
public
|
uninstall(string $version): bool
|
#
|
public
|
make_default(string $version, string $path = '~'): bool
Assign Node version to directory Resolves symbolic names to version number
Assign Node version to directory Resolves symbolic names to version number
|
#
|
public
|
version_from_path(string $path): string|null
Get Node version for a path
Get Node version for a path
|
#
|
public
|
get_default(string $path): ?string
|
#
|
public
|
lts_version(string $alias = '*'): null|string
Get installed LTS version for account
Get installed LTS version for account
Parameters
$alias |
Node release alias (argon, boron, carbon, dubnium, etc)
|
|
#
|
public
|
install(string $version): null|string
Returns
null on error, specific version installed
|
#
|
public
|
installed(string $version, string $comparator = '='): string|null
Node version is installed
Node version is installed
Returns
|
#
|
public
|
lts_installed(): bool
|
#
|
public
|
list(): array
|
#
|
public
|
get_available(): array
|
#
|