deepakchethan
9e884b8d7b
[Fix] nvm install
: show proper version in .nvmrc
install instructions
2022-03-22 18:58:18 +05:30
Ponder
7d86701067
[readme] fish
: send output from load_nvm
to /dev/stderr
2022-04-01 13:00:58 -04:00
legendecas
c367d7daa0
[Docs] fix fish load_nvm variable interpolations
2022-03-28 23:28:53 +08:00
Antony Tse
d157cac689
[readme] Correct typos in "Macs with M1 chip" section
2022-03-09 09:41:48 +00:00
Jordan Harband
39d9a42c35
[Fix] install.sh
: error out if the install instructions are not followed
2022-02-08 10:40:11 -08:00
Kai
2c0c34f10e
[Docs] HTTP => HTTPS
2022-01-16 14:25:11 +01:00
Jordan Harband
c2f740ab38
[patch] HTTP -> HTTPS
2022-01-18 12:49:57 -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
Luke Arms
1875fe8b40
[Fix] avoid OpenBSD nvm install
error when /sbin/init doesn't exist
...
`nvm install` fails with "Binary download failed, trying source" when
- running on Bash;
- errtrace (`set -E`) is enabled;
- an ERR trap uses `exit` to return a non-zero status; and
- /sbin/init doesn't exist.
Resolved by moving `ls -dl /sbin/init` to the following `if` statement.
In this context, returning non-zero isn't an error and the ERR trap
isn't executed.
2021-12-26 15:31:53 +11:00
Luke Arms
81f0f3ec19
[Fix] set -E
: Add test for node install
on Bash with an ERR trap and set -E
2021-12-27 16:02:25 +11:00
lsfxz
fb4538b360
[Fix] add missing local
(handle nonexisting /sbin/init a bit more cleanly)
2021-11-17 16:59:53 +01:00
Luke LaFountaine
d004c6b064
[readme] clarify instructions for running Node on M1 Mac
2021-12-03 16:52:18 -05:00
Bob Bregant II
79ad72d116
[Fix] Update nvm_extract_tarball
to support OpenBSD
...
Fixes #2660 .
2021-12-19 02:58:18 +00:00
Bob Bregant II
ccd442d833
[Refactor] add nvm_extract_tarball
to consolidate extraction logic
2021-12-19 02:58:18 +00:00
Jordan Harband
9600617c52
v0.39.1
2021-12-17 14:55:52 -08:00
Jordan Harband
5cc74a6736
[Tests] fix failing test
2021-12-17 13:21:29 -08:00
Jordan Harband
aa57406ede
[Fix] ensure unload
removes nvm_normalize_lts
2021-12-17 13:55:14 -08:00
Jordan Harband
0f62be6fdd
[Dev Deps] update markdown-link-check
2021-12-17 12:37:15 -08:00
Jordan Harband
c4c7690dec
[Fix] ls-remote
/install
: support lts/-X
patterns in installs
...
Fixes #2692
2021-12-16 23:01:05 -08:00
Jordan Harband
aed1d732d7
[Fix] ls-remote
/install
: properly handle lts/x
patterns
2021-12-16 22:58:06 -08:00
Jordan Harband
0b4cd8df6c
[Refactor] create nvm_normalize_lts
helper
2021-12-16 22:55:02 -08:00
Jordan Harband
430860a8be
[Fix] nvm alias
/nvm_list_aliases
: support lts/
aliases
...
See #2692
2021-12-16 15:54:38 -08:00
Jordan Harband
2459d17741
[Tests] update test mocks
2021-12-16 23:13:15 -08:00
Varun Sharma
6cc90a4b8d
[actions] add step security runner
2021-11-22 07:20:50 -08:00
Jordan Harband
81fc05684d
[Tests] nvm_get_download_slug
: add unit tests
2021-12-02 23:33:20 -08:00
Ankit Kumar
328dd5004e
[Fix] nvm_get_download_slug
: better architecture selection for M1 Macs
...
If the node version is below 16.0.0 then nvm will select x86_64 architecture, else arm64 architecture.
2021-11-21 15:59:39 +05:30
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
275001b066
[Tests] fix windows WSL tests
2021-11-25 19:35:39 -08:00
Jordan Harband
89379176ac
[Fix] install
: properly check for curl/wget
2021-11-25 14:26:35 -08:00
Robert Elliot
30486b9bd9
[readme] Balance the if statement in bash example
...
Nesting the `elif` at the same level as the `if` and `fi` makes it clear which code applies to which branch (no .nvmrc file / found .nvmrc file).
I wasted a while looking at it trying to work out how it did anything if there was a .nvmrc file, because obviously the `if` didn't match and I couldn't see the `elif` branch.
2021-11-22 14:34:43 +00:00
Ian Grayson
e9b26938b9
[readme] Describe another failure case for installing node versions from source on mac arm64 machines.
...
It seems to be related to https://github.com/nodejs/node/issues/39313 (which describes a similar issue).
2021-11-15 04:23:42 -08:00
Jordan Harband
ccd98f7fcb
[Dev Deps] update doctoc
2021-11-19 08:59:37 -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
Atsushi Yamamoto
9f520c97db
[Tests] nvm exec
/nvm run
: add --silent
tests
...
Co-authored-by: Atsushi Yamamoto <yamaatsushi927@gmail.com>
Co-authored-by: Jordan Harband <ljharb@gmail.com>
2016-10-11 23:43:10 -07:00
Jordan Harband
e5521cfd3c
[actions] release test needs git tags
2025-02-04 08:44:48 -08:00
Jérémy GAU
247ed8a186
[readme] fix --no-use
example
2024-11-28 20:33:25 +01:00
Jessica Wagantall
14507f807f
[Tests] migrate installation_iojs
test suite to GitHub Actions
...
Remove equivalent TravisCI entries
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2024-11-21 15:14:14 -08:00
Jessica Wagantall
6135555b40
[Tests] Migrate slow test suite from Travis CI
...
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2024-11-14 16:11:04 -08:00
Chris de Almeida
d90a7910db
[readme] update copyright notice
2025-01-10 14:41:50 -06:00
Andy Gimblett
8c30ac633b
[readme] note zsh-nvm's AUTO_USE option
2021-12-01 14:55:38 +00:00
Nicola Lanzoni
ecdc865a5a
[readme] add note about reloading zshrc after editing
2023-03-09 09:39:55 -03:00
Asad Akbar
9bcbbef4eb
[readme] Update shell profile file install notes
...
* Adds a note for how to fix the issue when the install script is not updating the correct profile file.
2020-06-19 16:36:09 -07:00
Björn Holm
b77fcec399
[readme] add docker tips
...
- covers installation using BASH_ENV
Co-authored-by: Christopher Dieringer <cdaringe@users.noreply.github.com>
Co-authored-by: Björn Holm <blollle@gmail.com>
2022-11-14 00:16:13 +01:00
Andrew Chang-DeWitt
287d535f2c
[readme] remove avn
from readme
...
`avn` is archived ([see repo](https://github.com/direnv/direnv )) and should probably no longer be recommended by nvm.
This also adds a solution using `direnv` and proposes a possible `.envrc` to use.
See [wbyoung/avn#109 ](https://github.com/wbyoung/avn/issues/109#issuecomment-1281865585 ) for more suggested `.envrc` files.
2024-11-13 14:41:39 -06:00
Kid
572c757f6d
[readme] fnm -> nvm.fish
2021-07-18 18:32:40 +08:00
Jordan Harband
1d39e35bd3
[Tests] temporarily skip this failing travis test to unblock progress
2025-02-03 10:50:19 -08:00
Jordan Harband
19f452ba0f
[Fix] avoid bash-specific syntax
...
Fixes #3499
2024-12-19 22:21:09 -08:00
Jordan Harband
b9b0ea8020
[Fix] install-latest-npm
: npm v11 is out
2024-12-16 10:03:18 -08:00
Jordan Harband
dae1427f7e
[actions] TOC: use latest LTS node
2024-11-22 21:44:36 -10:00