nvm-sh-nvm/test/install_script
Jordan Harband 25f836f81b
[Fix] install.sh: check mkdir return codes
If directory creation fails (e.g., permissions), the script would continue and fail with confusing errors later.
Fail early with a clear error message instead.

Bugs introduced in 68bf93514b, 6cee20a071, and 703babe60a.
2026-03-14 14:44:24 -07:00
..
install_nvm_from_git [Fix] install script: check the proper version; fetch tags also 2021-04-01 19:06:40 +05:30
nvm_check_global_modules [Tests] move sourcing suite to GHA 2024-08-22 13:30:55 -07:00
nvm_detect_profile [Tests] nvm_detect_profile: refactor 2024-11-12 13:31:36 -08:00
nvm_do_install [Tests] add some nvm_do_install tests 2022-12-27 22:57:07 -08:00
nvm_do_install_printf_format [Fix] install.sh: fix POSIX compliance, printf format strings, and profile detection 2026-03-14 14:41:11 -07:00
nvm_do_install_tried_profile [Fix] install.sh: fix POSIX compliance, printf format strings, and profile detection 2026-03-14 14:41:11 -07:00
nvm_download [Fix] nvm_download: ensure all args are quoted 2024-08-20 22:33:38 -07:00
nvm_install_dir [New] add support for $XDG_CONFIG_HOME 2018-08-14 21:45:40 +02:00
nvm_install_profile_skip [Fix] install.sh: do not log when user has requested no profile modifications 2019-12-05 19:30:26 -08:00
nvm_install_with_aliased_dot [New] install script: Allow installation from other repository 2020-12-27 10:09:29 +01:00
nvm_install_with_node_version [Tests] add nvm_grep to install script, fix tests 2021-01-08 18:54:40 +01:00
nvm_mkdir_error_handling [Fix] install.sh: check mkdir return codes 2026-03-14 14:44:24 -07:00
nvm_profile_is_bash_or_zsh [Fix] install.sh: support ~/.zprofile 2022-09-21 22:38:50 +02:00
nvm_reset Remove useless trailing newlines 2018-02-26 01:01:30 +08:00
nvm_source [Fix] install.sh: when NVM_INSTALL_GITHUB_REPO is set, issue a warning 2023-11-02 21:10:09 -07:00