Jordan Harband
62387b8f92
v0.40.4
Tests on Windows: `nvm install` / WSL nvm install (, 11, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (, 18, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 18, Ubuntu-20.04) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 21, Debian) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 21, Ubuntu-20.04) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (, --lts, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (, 10, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (, 12, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (, 14, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (, 16, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (, 21, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, --lts, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 10, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 11, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 12, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 14, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 16, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 18, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 21, Alpine) (push) Has been cancelled
Tests: `nvm install-latest-npm` / nvm install-latest-npm (push) Has been cancelled
Tests: linting / all linting (push) Has been cancelled
Tests: nvm install with set -e / test (push) Has been cancelled
Tests: nvm install with set -e / finisher (push) Has been cancelled
Tests: shellcheck / shellcheck (push) Has been cancelled
Tests: fast / all fast tests (push) Has been cancelled
Tests: installation_iojs / all installation_iojs tests (push) Has been cancelled
Tests: installation_node / all installation_node tests (push) Has been cancelled
Tests: xenial / all xenial tests (push) Has been cancelled
urchin tests / all test suites, all shells (push) Has been cancelled
Tests on Windows: `nvm install` / tests, on windows (push) Has been cancelled
2026-01-29 14:12:03 -08:00
Wes Todd
ec8906b284
[Fix] install.sh: do not log when user has requested no profile modifications
...
Tests on Windows: `nvm install` / WSL nvm install (script, 18, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 14, Ubuntu-20.04) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 16, Debian) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 16, Ubuntu-18.04) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 16, Ubuntu-20.04) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 18, Debian) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 18, Ubuntu-20.04) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 21, Debian) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 21, Ubuntu-20.04) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (, --lts, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (, 10, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (, 11, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (, 12, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (, 14, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (, 16, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (, 18, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (, 21, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, --lts, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 10, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 11, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 12, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 14, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 16, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / tests, on windows (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 21, Alpine) (push) Has been cancelled
Tests: shellcheck / shellcheck (push) Has been cancelled
Tests: `nvm install-latest-npm` / nvm install-latest-npm (push) Has been cancelled
Tests: nvm install with set -e / test (push) Has been cancelled
Tests: nvm install with set -e / finisher (push) Has been cancelled
urchin tests / all test suites, all shells (push) Has been cancelled
[Tests] `install.sh`: add tests for PROFILE=/dev/null profile skip
Verify that when PROFILE="/dev/null" is set:
- The "Profile not found" warning is suppressed
- Profile modification is skipped as expected
Co-authored-by: Wes Todd <wes@wesleytodd.com >
Co-authored-by: Jordan Harband <ljharb@gmail.com >
2019-12-05 19:30:26 -08:00
Curt J. Sampson
7c82abdbef
[Fix] install.sh: Force remote name of cloned repo to be 'origin'
...
The script assumes that the name of the remote is `origin`, but this
is not the case if the user has set `clone.defaultRemoteName` to
another value in the ~/.gitconfig (or elsewhere in the configuration).
Adding `-o origin` ensures that the remote will be called `origin`
regardless of the `clone.defaultRemoteName` setting.
Per PR #3341 :
- The minimum Git version this should work with is v1.7.10. (This is not
documented in the repo itself; it's just an implicit requirement.)
- The `--origin` option was added to `git clone` in commit 98a4fef3f2 which
was released in v1.2.5. From the diff of that commit, the `-o` option was
already available at that time. So this easily satisfies the above.
- A comment in #3341 indicates that `-o` was added in v1.1.0. I've not
verified this, but we probably don't need to track that down since by the
above we're already well within requirements.
2025-09-12 18:27:48 +09:00
Jordan Harband
977563e97d
v0.40.3
Tests on Windows: `nvm install` / WSL nvm install (script, 12, Debian) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 12, Ubuntu-18.04) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 12, Ubuntu-20.04) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 14, Debian) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 14, Ubuntu-18.04) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 14, Ubuntu-20.04) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 16, Debian) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 16, Ubuntu-18.04) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 16, Ubuntu-20.04) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 18, Debian) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 18, Ubuntu-20.04) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 21, Debian) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 21, Ubuntu-20.04) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (, --lts, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (, 10, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (, 11, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (, 12, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (, 14, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (, 16, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (, 18, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (, 21, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, --lts, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 10, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 11, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 12, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 14, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 16, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 18, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / WSL nvm install (script, 21, Alpine) (push) Has been cancelled
Tests on Windows: `nvm install` / tests, on windows (push) Has been cancelled
2025-04-23 16:34:31 -07:00
Jordan Harband
ffec9fec72
v0.40.2
...
New Stuff
- `install.sh`: add `$ZDOTDIR` to zsh search (#3458 )
Fixes
- `reinstall-packages`: do not reinstall corepack (#3544 )
- avoid bash-specific syntax (#3499 )
- `install-latest-npm`: npm v11 is out
- `nvm_install_latest_npm`: avoid unbound variable (#3447 )
- give a more helpful message when `lts` alias is mistakenly used (#3441 )
- `nvm ls`, `nvm alias`, `nvm install`: error when an LTS name is invalid
- `nvm_normalize_lts`: error when an LTS name is not lowercase (#3417 )
Documentation
- [readme] update link
- [readme] fix `--no-use` example (#3479 )
- [readme] update copyright notice (#3507 )
- [readme] note zsh-nvm's AUTO_USE option (#2670 )
- [readme] add note about reloading zshrc after editing (#3052 )
- [readme] Update shell profile file install notes (#2241 )
- [readme] add docker tips (#2318 )
- [readme] remove `avn` from readme (#3469 )
- [readme] fnm -> nvm.fish (#2541 )
Refactors
- prefer `case` over if/else chains
- combine `sed -e` invocations/arguments
Tests
- `nvm exec`/`nvm run`: add `--silent` tests (#1259 )
- [actions] release test needs git tags
- migrate `installation_iojs` test suite to GitHub Actions (#3476 )
- Migrate slow test suite from Travis CI (#3470 )
- temporarily skip this failing travis test to unblock progress
- [actions] TOC: use latest LTS node
- `install.sh`: clean up `nvm_detect_profile` tests
- `nvm_detect_profile`: refactor (#3467 )
- run urchin tests on pull requests (#3466 )
- update mocks
- ensure that unit tests use only mocked LTS names
- [actions] use `node/install` instead of `node/run`
Meta
- disable blank issues
- update issue template
- add DCO (#3456 )
- Rename .github/ISSUE_TEMPLATE.md to .github/ISSUE_TEMPLATE/ISSUE_TEMPLATE.md (#3454 )
2025-03-11 13:39:40 -07:00
menaechmi
abd02e5aae
[Fix] install.sh: fix failing install tests ( #3458 )
2024-11-12 11:57:02 -06:00
menaechmi
cd22c84026
[New] install.sh: add $ZDOTDIR to zsh search
...
Fixes #3128
2024-11-06 16:53:58 -06:00
Jordan Harband
179d45050b
v0.40.1
2024-08-27 13:44:15 -07:00
Jordan Harband
81f18bc445
[patch] install.sh: fix node capitalization
2024-08-09 13:46:16 +12:00
Jordan Harband
deac4e0932
v0.40.0
2024-07-30 12:50:18 -07:00
Jordan Harband
bab86d5de5
v0.39.7
2023-12-05 21:50:27 -08:00
Jordan Harband
c73009f503
v0.39.6
2023-12-04 22:03:25 -08:00
Jordan Harband
4bdd57ba0f
[Fix] install.sh: when NVM_INSTALL_GITHUB_REPO is set, issue a warning
...
This should only annoy those testing their PRs; real users should never set this env var
2023-11-02 21:10:09 -07:00
Jordan Harband
c92adb3c47
v0.39.5
2023-08-21 21:10:10 -07:00
Jordan Harband
8fbf8ab694
v0.39.4
2023-07-24 18:29:54 -07:00
Jordan Harband
552db40622
v0.39.3
2022-12-23 12:57:56 -08:00
Jordan Harband
0ccd099bff
v0.39.2
2022-10-13 16:25:25 -07:00
Maxim Lepekha
7c929f8742
[Fix] install.sh: support ~/.zprofile
2022-09-21 22:38:50 +02:00
Robert Shuford
35758b75ed
[Tests] github actions removed homebrew and broke shellcheck
...
See https://github.com/actions/runner-images/issues/6283
2022-10-06 11:13:47 -04:00
Jordan Harband
39d9a42c35
[Fix] install.sh: error out if the install instructions are not followed
2022-02-08 10:40:11 -08:00
Jordan Harband
6cfaede5a0
[Fix] install: better error message when xcode command line tools are needed
...
Fixes #2697 . Fixes #2663 .
2021-11-27 22:16:14 -08:00
Jordan Harband
9600617c52
v0.39.1
2021-12-17 14:55:52 -08:00
Jérôme Foray
4856407d26
[Fix] install: fix method=script install condition
...
Fixes #2665 ; see 8937917
2021-11-30 16:07:22 +01:00
Jordan Harband
89379176ac
[Fix] install: properly check for curl/wget
2021-11-25 14:26:35 -08:00
Jordan Harband
2f40eeef2e
[shellcheck] apply v0.8.0 updates
2021-11-19 08:53:43 -08:00
Nix
c9e7bb2da1
[Fix] install script: Add --no-pager option to git branch
2021-10-23 22:23:55 +09:00
Jordan Harband
5b3d188b83
v0.39.0
2021-10-07 10:11:35 -07:00
Thomas Geirhovd
e98e9d9e4b
[Fix] install: Detect correct profile based on $SHELL var
2021-08-12 15:51:32 +02:00
Jordan Harband
3fea5493a4
v0.38.0
2021-03-29 12:49:10 -07:00
Jordan Harband
0579718308
[Fix] install script: define nvm_echo
...
- refactor `echo` to use `nvm_echo`
Per 589c2377fb (r48360520)
2021-03-17 09:07:15 -07:00
nmarghetti
502089ae30
[New] install script: Allow installation from other repository also for git method
2021-01-14 00:10:19 +01:00
nmarghetti
589c2377fb
[Fix] install script: sync nvm_download implementation from nvm.sh
2021-01-13 02:26:38 +01:00
nmarghetti
9f3397afa4
[Tests] add nvm_grep to install script, fix tests
2021-01-08 18:54:40 +01:00
nmarghetti
4e9df33cb7
[New] install script: Allow installation from other repository
2020-12-27 10:09:29 +01:00
David Moles
d4eba354b5
[Fix] install: Ignore npm command under $NVM_DIR when checking for global modules
2020-11-30 15:22:24 -08:00
Jordan Harband
4b947ec92d
v0.37.2
2020-11-27 21:34:28 -08:00
Jordan Harband
661a702cdd
v0.37.1
2020-11-24 21:16:43 -08:00
Jordan Harband
4054bd70ce
v0.37.0
2020-11-06 10:11:29 -08:00
Jordan Harband
8debf39f24
v0.36.0
2020-09-23 16:18:37 -07:00
Jordan Harband
258938ef66
v0.35.3
2020-03-05 23:13:56 -08:00
Jordan Harband
f355b327d6
v0.35.2
2019-12-17 22:40:20 -08:00
Jordan Harband
28bc2fd991
v0.35.1
2019-11-03 10:03:31 -08:00
Jordan Harband
011810e721
v0.35.0
2019-10-02 00:05:28 -04:00
Will Papper
3cc9525dce
[Docs] [Fix] Set $NVM_DIR to ".nvm" instead of "nvm"
...
- Operating system and version: Mac OS X Mojave
- What happened? $NVM_DIR was set to nvm
- What did you expect to happen? $NVM_DIR should be set to .nvm
I added the following line from the README to my .zshrc:
```
export NVM_DIR="${XDG_CONFIG_HOME/:-$HOME/.}nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
```
I couldn't figure out why nvm wasn't loading, until I realized that
`echo NVM_DIR="${XDG_CONFIG_HOME/:-$HOME/.}nvm"` outputs `NVM_DIR=nvm`.
Changing the line to `export NVM_DIR="${XDG_CONFIG_HOME/:-$HOME/}.nvm"` fixed the problem. This outputs `NVM_DIR=.nvm` as expected. I tested this and the same behavior holds true in Bash as well.
2019-04-24 00:03:01 -07:00
Bastian Fuchs
45c1b84794
[Fix] Determine correct sub directory if XDG_CONFIG_HOME is set
...
With the environment variable XDG_CONFIG_HOME set, the installation
script uses the directory $XDG_CONFIG_HOME/nvm now. Before the change
the variable's value with "/nvm" cut off was used, which usually results
in an installation without any subdirectory.
2019-04-28 12:51:15 +02:00
Jordan Harband
e7a5b7992b
[meta] update repo links to point to org
2019-04-24 16:08:34 -07:00
Jordan Harband
a56c6f1485
tweak logic
2019-01-21 21:58:43 -08:00
Ahmed El Sayegh
703babe60a
[Fix] Make installation less restrictive when NVM_DIR is set
2019-01-21 02:15:02 +02:00
Jordan Harband
3d9c31d944
v0.34.0
2019-01-07 23:01:16 -08:00
Peter Dave Hello
14179bc8ce
[shellcheck] Use -n/-z instead of ! -z/! -n condition
...
https://github.com/koalaman/shellcheck/wiki/SC2236
2018-12-03 13:59:19 +08:00