gitextract_ttgsrgia/ ├── .dockerignore ├── .editorconfig ├── .gitattributes ├── .github/ │ ├── FUNDING.yml │ ├── INCIDENT_RESPONSE_PLAN.md │ ├── ISSUE_TEMPLATE/ │ │ ├── config.yml │ │ └── issue_template.md │ ├── SECURITY.md │ ├── THREAT_MODEL.md │ └── workflows/ │ ├── codeql-analysis.yml │ ├── latest-npm.yml │ ├── lint.yml │ ├── nodejs-org.yml │ ├── nvm-install-test.yml │ ├── rebase.yml │ ├── release.yml │ ├── require-allow-edits.yml │ ├── shellcheck.yml │ ├── tests-fast.yml │ ├── tests-installation-iojs.yml │ ├── tests-installation-node.yml │ ├── tests-xenial.yml │ ├── tests.yml │ ├── toc.yml │ └── windows-npm.yml ├── .gitignore ├── .gitmodules ├── .mailmap ├── .npmrc ├── AGENTS.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── Dockerfile ├── GOVERNANCE.md ├── LICENSE.md ├── Makefile ├── PROJECT_CHARTER.md ├── README.md ├── ROADMAP.md ├── bash_completion ├── install.sh ├── nvm-exec ├── nvm.sh ├── package.json ├── rename_test.sh ├── test/ │ ├── common.sh │ ├── fast/ │ │ ├── Aliases/ │ │ │ ├── 'nvm alias' should ignore leading blank lines in the file │ │ │ ├── 'nvm alias' should not accept aliases with a hash │ │ │ ├── 'nvm alias' should not accept aliases with slashes │ │ │ ├── 'nvm unalias' should accept aliases when they shadow a built-in alias │ │ │ ├── 'nvm unalias' should not accept aliases with names equal to built-in alias │ │ │ ├── 'nvm unalias' should not accept aliases with slashes │ │ │ ├── Running 'nvm alias ˂aliasname˃ ˂target˃' again should change the target │ │ │ ├── Running 'nvm alias ˂aliasname˃' should list but one alias │ │ │ ├── Running 'nvm alias' lists implicit aliases when they do not exist │ │ │ ├── Running 'nvm alias' lists manual aliases instead of implicit aliases when present │ │ │ ├── Running 'nvm alias' should list all aliases │ │ │ ├── circular/ │ │ │ │ ├── nvm_resolve_alias │ │ │ │ ├── nvm_resolve_local_alias │ │ │ │ ├── setup │ │ │ │ └── teardown │ │ │ ├── lts/ │ │ │ │ ├── 'nvm alias' should ensure LTS alias dir exists │ │ │ │ ├── setup_dir │ │ │ │ └── teardown_dir │ │ │ ├── nvm_ensure_default_set │ │ │ ├── nvm_list_aliases calls nvm_get_colors │ │ │ ├── nvm_list_aliases works with LTS aliases │ │ │ ├── nvm_list_aliases works with no LTS aliases present │ │ │ ├── nvm_print_alias_path calls nvm_get_colors │ │ │ ├── nvm_print_formatted_alias calls nvm_get_colors │ │ │ ├── nvm_resolve_alias │ │ │ ├── nvm_resolve_local_alias │ │ │ ├── setup │ │ │ └── teardown │ │ ├── Listing paths/ │ │ │ ├── Running 'nvm which 0.0.2' should display only version 0.0.2 │ │ │ ├── Running 'nvm which foo' should return a nonzero exit code when not found │ │ │ ├── Running 'nvm which' should respect alias pointing to system │ │ │ └── teardown │ │ ├── Listing versions/ │ │ │ ├── Running 'nvm ls --no-alias' does not call into nvm_alias │ │ │ ├── Running 'nvm ls --no-alias' with a pattern errors │ │ │ ├── Running 'nvm ls 0.0.2' should display only version 0.0.2 │ │ │ ├── Running 'nvm ls 0.2' should display only 0.2.x versions │ │ │ ├── Running 'nvm ls default' should show system version when available │ │ │ ├── Running 'nvm ls foo' should return a nonzero exit code when not found │ │ │ ├── Running 'nvm ls io' should return NA │ │ │ ├── Running 'nvm ls node_' should return a nonzero exit code when not found │ │ │ ├── Running 'nvm ls stable' and 'nvm ls unstable' should return the appropriate implicit alias │ │ │ ├── Running 'nvm ls system' should include 'system' when appropriate │ │ │ ├── Running 'nvm ls' calls into nvm_alias │ │ │ ├── Running 'nvm ls' should display all installed versions │ │ │ ├── Running 'nvm ls' should filter out '.nvm' │ │ │ ├── Running 'nvm ls' should filter out 'versions' │ │ │ ├── Running 'nvm ls' should include 'system' when appropriate │ │ │ ├── Running 'nvm ls' should list versions in the 'versions' directory │ │ │ ├── Running 'nvm ls' should not show a trailing slash │ │ │ ├── Running 'nvm ls' with node-like versioning vx.x.x should only list a matched version │ │ │ ├── Running 'nvm ls' with nounset should not fail │ │ │ ├── Using a nonstandard IFS should not break │ │ │ └── teardown │ │ ├── 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 uninstall' with an inferred version shows the inferred message │ │ ├── Running 'nvm uninstall' with an uninstalled version shows the requested version │ │ ├── Running 'nvm uninstall' with incorrect file permissions fails nicely │ │ ├── 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 │ │ ├── Running 'nvm use' should drop CR char automatically │ │ ├── Running 'nvm use' should respect alias pointing to system │ │ ├── Running 'nvm use' should respect system in .nvmrc │ │ ├── Running 'nvm-exec' should display required node version │ │ ├── Set Colors/ │ │ │ ├── nvm_echo_with_colors │ │ │ ├── nvm_err_with_colors │ │ │ ├── nvm_print_default_alias calls nvm_get_colors │ │ │ └── nvm_print_versions calls nvm_get_colors │ │ ├── Sourcing nvm.sh should make the nvm command available │ │ ├── Sourcing nvm.sh should not modify parameters of caller │ │ ├── Unit tests/ │ │ │ ├── Running 'nvm install --save' works as expected' │ │ │ ├── Running 'nvm use --save' works as expected' │ │ │ ├── Running 'nvm use --save' works with a .nvmrc in the parent dir │ │ │ ├── Running 'nvm use --silent --save' doesn't output anything │ │ │ ├── mocks/ │ │ │ │ ├── LTS_names.txt │ │ │ │ ├── iojs.org-dist-index.tab │ │ │ │ ├── lts-star.txt │ │ │ │ ├── nodejs.org-dist-index.tab │ │ │ │ ├── nodejs.org-download-nightly-index.tab │ │ │ │ ├── nvm ls-remote iojs.txt │ │ │ │ ├── nvm ls-remote lts.txt │ │ │ │ ├── nvm ls-remote node.txt │ │ │ │ ├── nvm ls-remote.txt │ │ │ │ ├── nvm_ls_remote LTS argon.txt │ │ │ │ ├── nvm_ls_remote LTS nightly argon.txt │ │ │ │ ├── nvm_ls_remote LTS nightly.txt │ │ │ │ ├── nvm_ls_remote LTS.txt │ │ │ │ ├── nvm_ls_remote nightly.txt │ │ │ │ ├── nvm_ls_remote stable nightly.txt │ │ │ │ ├── nvm_ls_remote stable.txt │ │ │ │ ├── nvm_ls_remote.txt │ │ │ │ ├── nvm_ls_remote_iojs.txt │ │ │ │ ├── nvm_make_alias LTS alias calls.txt │ │ │ │ ├── nvm_print_implicit_alias remote stable nightly.txt │ │ │ │ ├── nvm_print_implicit_alias remote stable.txt │ │ │ │ └── project_dirs/ │ │ │ │ ├── nested-both/ │ │ │ │ │ ├── a/ │ │ │ │ │ │ └── b/ │ │ │ │ │ │ └── c/ │ │ │ │ │ │ └── d/ │ │ │ │ │ │ └── .gitkeep │ │ │ │ │ └── package.json │ │ │ │ ├── nested-n_m/ │ │ │ │ │ └── a/ │ │ │ │ │ └── b/ │ │ │ │ │ └── c/ │ │ │ │ │ └── d/ │ │ │ │ │ └── .gitkeep │ │ │ │ ├── nested-pkg/ │ │ │ │ │ ├── a/ │ │ │ │ │ │ └── b/ │ │ │ │ │ │ └── c/ │ │ │ │ │ │ └── d/ │ │ │ │ │ │ └── .gitkeep │ │ │ │ │ └── package.json │ │ │ │ ├── no-nesting-both/ │ │ │ │ │ └── package.json │ │ │ │ └── no-nesting-pkg/ │ │ │ │ └── package.json │ │ │ ├── nvm install --offline │ │ │ ├── nvm install -b │ │ │ ├── nvm install with nonlowercase LTS name │ │ │ ├── nvm ls-remote │ │ │ ├── nvm set_colors │ │ │ ├── nvm version-remote │ │ │ ├── nvm_add_iojs_prefix │ │ │ ├── nvm_alias │ │ │ ├── nvm_alias LTS-N │ │ │ ├── nvm_alias handles comments │ │ │ ├── nvm_alias_path │ │ │ ├── nvm_change_path │ │ │ ├── nvm_check_for_help │ │ │ ├── nvm_clang_version │ │ │ ├── nvm_command_info │ │ │ ├── nvm_compare_checksum │ │ │ ├── nvm_compute_checksum │ │ │ ├── nvm_curl_libz_support │ │ │ ├── nvm_curl_use_compression │ │ │ ├── nvm_curl_version │ │ │ ├── nvm_die_on_prefix │ │ │ ├── nvm_download │ │ │ ├── nvm_download_artifact │ │ │ ├── nvm_ensure_default_set │ │ │ ├── nvm_ensure_version_installed │ │ │ ├── nvm_ensure_version_prefix │ │ │ ├── nvm_extract_tarball │ │ │ ├── nvm_find_project_dir │ │ │ ├── nvm_find_up │ │ │ ├── nvm_format_version │ │ │ ├── nvm_get_arch │ │ │ ├── nvm_get_arch_unofficial │ │ │ ├── nvm_get_artifact_compression │ │ │ ├── nvm_get_checksum │ │ │ ├── nvm_get_checksum_alg │ │ │ ├── nvm_get_checksum_binary │ │ │ ├── nvm_get_colors │ │ │ ├── nvm_get_default_packages │ │ │ ├── nvm_get_default_packages mawk compat │ │ │ ├── nvm_get_download_slug │ │ │ ├── nvm_get_latest missing curl or wget │ │ │ ├── nvm_get_minor_version │ │ │ ├── nvm_get_mirror │ │ │ ├── nvm_has │ │ │ ├── nvm_has_colors │ │ │ ├── nvm_has_non_aliased │ │ │ ├── nvm_has_solaris_binary │ │ │ ├── nvm_has_system_iojs │ │ │ ├── nvm_has_system_node │ │ │ ├── nvm_install_binary_extract │ │ │ ├── nvm_install_binary_nosource │ │ │ ├── nvm_install_latest_npm │ │ │ ├── nvm_install_no_progress_bar │ │ │ ├── nvm_install_source SHELL override │ │ │ ├── nvm_iojs_prefix │ │ │ ├── nvm_iojs_version_has_solaris_binary │ │ │ ├── nvm_is_alias │ │ │ ├── nvm_is_iojs_version │ │ │ ├── nvm_is_merged_node_version │ │ │ ├── nvm_is_natural_num │ │ │ ├── nvm_is_valid_version │ │ │ ├── nvm_is_version_installed │ │ │ ├── nvm_ls handles hash in pattern │ │ │ ├── nvm_ls_current │ │ │ ├── nvm_ls_remote │ │ │ ├── nvm_ls_remote LTS aliases │ │ │ ├── nvm_ls_remote nightly │ │ │ ├── nvm_ls_remote_iojs │ │ │ ├── nvm_make_alias │ │ │ ├── nvm_node_prefix │ │ │ ├── nvm_node_version_has_solaris_binary │ │ │ ├── nvm_normalize_lts │ │ │ ├── nvm_num_version_groups │ │ │ ├── nvm_offline_version │ │ │ ├── nvm_print_alias_path │ │ │ ├── nvm_print_color_code │ │ │ ├── nvm_print_default_alias │ │ │ ├── nvm_print_implicit_alias errors │ │ │ ├── nvm_print_implicit_alias success │ │ │ ├── nvm_print_npm_version │ │ │ ├── nvm_process_nvmrc │ │ │ ├── nvm_remote_version │ │ │ ├── nvm_remote_versions │ │ │ ├── nvm_stdout_is_terminal │ │ │ ├── nvm_strip_iojs_prefix │ │ │ ├── nvm_strip_path │ │ │ ├── nvm_supports_xz │ │ │ ├── nvm_tree_contains_path │ │ │ ├── nvm_use_if_needed │ │ │ ├── nvm_validate_implicit_alias │ │ │ ├── nvm_version │ │ │ ├── nvm_version_dir │ │ │ ├── nvm_version_greater │ │ │ ├── nvm_version_path │ │ │ ├── nvm_wrap_with_color_code │ │ │ ├── nvm_write_nvmrc │ │ │ └── security_wget_injection │ │ ├── nvm should remove the last trailing slash in $NVM_DIR │ │ ├── setup │ │ ├── setup_dir │ │ ├── teardown │ │ └── teardown_dir │ ├── install_script/ │ │ ├── install_nvm_from_git │ │ ├── nvm_check_global_modules │ │ ├── nvm_detect_profile │ │ ├── nvm_do_install │ │ ├── nvm_download │ │ ├── nvm_install_dir │ │ ├── nvm_install_profile_skip │ │ ├── nvm_install_with_aliased_dot │ │ ├── nvm_install_with_node_version │ │ ├── nvm_profile_is_bash_or_zsh │ │ ├── nvm_reset │ │ └── nvm_source │ ├── installation_iojs/ │ │ ├── install already installed uses it │ │ ├── install from binary │ │ ├── install from source │ │ ├── install two versions and use the latest one │ │ ├── install version specified in .nvmrc from binary │ │ ├── install version specified in .nvmrc from source │ │ ├── install while reinstalling packages │ │ ├── nvm install v1 works │ │ ├── setup_dir │ │ └── teardown_dir │ ├── installation_node/ │ │ ├── default-packages │ │ ├── install LTS │ │ ├── install already installed uses it │ │ ├── install from binary │ │ ├── install from binary with binary flag set │ │ ├── install from source │ │ ├── install from source with thread parameter │ │ ├── install from source without V8 snapshot for ARM │ │ ├── install hook │ │ ├── install latest npm │ │ ├── install on bash with ERR trap and set -E │ │ ├── install two versions and use the latest one │ │ ├── install version specified in .nvmrc from binary │ │ ├── install while reinstalling packages │ │ ├── install with --alias │ │ ├── install with --default │ │ ├── install with --latest-npm │ │ ├── setup_dir │ │ └── teardown_dir │ ├── mocks/ │ │ ├── isainfo_amd64 │ │ ├── isainfo_x86 │ │ ├── pkg_info_amd64 │ │ ├── pkg_info_fail │ │ ├── pkg_info_x86 │ │ ├── uname_linux_armv8l │ │ ├── uname_osx_amd64 │ │ ├── uname_osx_x86 │ │ ├── uname_smartos_amd64 │ │ └── uname_smartos_x86 │ ├── slow/ │ │ ├── Running 'nvm current' should display current nvm environment │ │ ├── nvm exec/ │ │ │ ├── Running 'nvm exec --lts' should work │ │ │ ├── Running 'nvm exec --silent' should work │ │ │ ├── Running 'nvm exec 0.x' should work │ │ │ ├── Running 'nvm exec' should pick up .nvmrc version │ │ │ ├── Running 'nvm exec' with help should not parse │ │ │ ├── setup_dir │ │ │ └── teardown_dir │ │ ├── nvm reinstall-packages/ │ │ │ ├── Running 'nvm copy-packages $(nvm ls current)' should error out │ │ │ ├── setup_dir │ │ │ ├── should work as expected │ │ │ ├── teardown_dir │ │ │ ├── test-npmlink/ │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ └── works with no installs │ │ ├── nvm run/ │ │ │ ├── Running 'nvm run --harmony --version' should work │ │ │ ├── Running 'nvm run --lts' should work │ │ │ ├── Running 'nvm run --silent' should work │ │ │ ├── Running 'nvm run 0.x' should error out sensibly when 0.x is not installed │ │ │ ├── Running 'nvm run 0.x' should work │ │ │ ├── Running 'nvm run' should pick up .nvmrc version │ │ │ ├── setup_dir │ │ │ └── teardown_dir │ │ ├── nvm uninstall/ │ │ │ ├── Running 'nvm uninstall 0.12.6' uninstalls v0.12.6 │ │ │ ├── Running 'nvm uninstall' with incorrect file permissions fails nicely │ │ │ ├── setup_dir │ │ │ └── teardown_dir │ │ ├── nvm use/ │ │ │ ├── Running 'nvm use --lts' uses latest LTS version │ │ │ ├── Running 'nvm use --lts=foo' uses latest 'foo' LTS version │ │ │ ├── Running 'nvm use iojs' uses latest io.js version │ │ │ ├── Running 'nvm use lts' shows actionable error │ │ │ ├── Running 'nvm use node --silent' doesn't print anything │ │ │ ├── Running 'nvm use node' uses latest stable node version │ │ │ ├── Running 'nvm use v1.0.0' uses iojs-v1.0.0 iojs version │ │ │ ├── Running 'nvm use' calls 'nvm_die_on_prefix' │ │ │ ├── Running 'nvm use' with nvmrc containing not installed version │ │ │ ├── setup_dir │ │ │ └── teardown_dir │ │ └── nvm_get_latest/ │ │ ├── nvm_get_latest │ │ └── nvm_get_latest failed redirect │ ├── sourcing/ │ │ ├── Sourcing nvm.sh global alias bug │ │ ├── Sourcing nvm.sh should keep version if one is active │ │ ├── Sourcing nvm.sh should use the default if available and no nvm node is loaded │ │ ├── Sourcing nvm.sh with --install and .nvmrc should install it │ │ ├── Sourcing nvm.sh with --install should install the default │ │ ├── Sourcing nvm.sh with --no-use should not use anything │ │ ├── Sourcing nvm.sh with no default should return 0 │ │ ├── setup_dir │ │ └── teardown_dir │ └── xenial/ │ ├── install from source │ ├── install from source implicitly │ ├── install from source with thread parameter │ ├── install from source without V8 snapshot for ARM │ ├── install hook │ ├── install version specified in .nvmrc from source │ └── node 0.6.21 should install 0.6.21-pre └── update_test_mocks.sh