mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-11 22:51:51 +00:00
![]() uname on SmartOS cannot be used to guess if 32 and/or 64 bits binaries are supported, and its output is different than other uname commands on other operating systems. This change uses pkg_info to determine what types of binaries pkgsrc would install. If pkg_info fails to run or is not present, this change falls back to using isainfo -n, which determines what the kernel supports. It allows users to install node binaries on Solaris derivatives. io.js can also be installed on Solaris derivatives starting with version v3.3.1. |
||
---|---|---|
.. | ||
Aliases | ||
Listing paths | ||
Listing versions | ||
Unit tests | ||
Running "nvm alias" should create a file in the alias directory. | ||
Running "nvm current" should display current nvm environment. | ||
Running "nvm deactivate" should unset the nvm environment variables. | ||
Running "nvm install" with "--reinstall-packages-from" requires a valid version | ||
Running "nvm install" with an invalid version fails nicely | ||
Running "nvm unalias" should remove the alias file. | ||
Running "nvm uninstall" should remove the appropriate directory. | ||
Running "nvm unload" should unset all function and variables. | ||
Running "nvm use foo" where "foo" is circular aborts | ||
Running "nvm use iojs" uses latest io.js version | ||
Running "nvm use system" should work as expected | ||
Running "nvm use x" should create and change the "current" symlink | ||
Running "nvm use x" should not create the "current" symlink if $NVM_SYMLINK_CURRENT is false | ||
setup | ||
setup_dir | ||
Sourcing nvm.sh should make the nvm command available. | ||
teardown | ||
teardown_dir |