Naomi Quinones
1bf567bd0b
[Fix] ensure `--help` is intercepted on any command
...
Co-authored-by: Naomi Quinones <52065567+naomiquinones@users.noreply.github.com>
Co-authored-by: Dena Burd <me@Denas-MacBook-Air.local>
5 years ago
Dimitris Karagiannis
a01deb11dc
[patch] Update docs and add warning for 'nvm is not compatible with the npm config "prefix" option' edgecase error on Mac OS
5 years ago
Kayla Altepeter
a5aec107df
[New] adding default and alias option to `nvm install`
...
For: `nvm install 8.12.0` after install:
--alias=8 is equivalent to `nvm alias 8 8.12.0`
--default is equivalent to `nvm alias default 8.12.0`
Co-authored-by: Kayla Altepeter <kayla@kaylaaltepeter.com>
Co-authored-by: Dena Burd <me@Denas-MacBook-Air.local>
Co-authored-by: Jordan Harband <ljharb@gmail.com>
6 years ago
Saikat Das
18c6f98acc
[readme] Add documentation for LTS updates which reinstall existing packages
...
Added an example for LTS updates that also reinstall the existing packages.
This is useful for individuals who run the latest LTS version along with global packages and need to update when the LTS version gets bumped
5 years ago
Jordan Harband
424aeb38b4
[Refactor] add `nvm_get_checksum_binary`; use it in `nvm debug`
5 years ago
Jordan Harband
abfe0a5891
[Refactor] remove unused `nvm_checksum` function
5 years ago
Naomi Quinones
3561bbc54a
[Fix] `--help`: Add more examples
...
Fixes #2120 .
5 years ago
Jordan Harband
83043c4d3a
[debug] add `whoami` output
5 years ago
Dena Burd
55eafcd814
[New] add `nvm -v` as an alias for `nvm --version`
...
Fixes #2200 .
5 years ago
ritmos
06c3bf6a8f
[Docs] `--help`: explain more clearly that <version> parameter is optional and can be provided by .nvmrc on `nvm install`, `nvm use`, `nvm exec`, and `nvm run`.
5 years ago
DeeDeeG
4b1100e515
[New] `nvm_supports_xz`: Add Mac/FreeBSD xz platform support checks
...
macOS only supports extracting xz tarballs with `tar` in 10.9 and up.
GNU tar needs an `xz` executable on the `PATH` to extract xz tarballs.
(These are the most common variants of tar, so until further testing
is done, conservatively assume all variants of tar (other than the one
shipped with macOS) need an xz executable on the PATH in order to
decompress xz tarballs.)
Fixes #2155 .
5 years ago
Bram Wubs
f6d11bae41
[readme] Fix fish load_nvm function
5 years ago
Marcus Kazmierczak
d2d232ea2b
[readme] Update macOS troubleshooting w/ 10.15 zsh default
...
The default shell for macOS 10.15 is now zsh, by default a .zshrc file
is not created, so switch instruction for touch ~/.zshrc
5 years ago
Connor Leech
7b3af45cf7
[readme] Update install instructions troubleshooting
...
This is in response to a popular stack overflow answer that has helped people resolve the "command not found" hiccup: https://stackoverflow.com/a/17707224/2031033
Also mentioned here: https://github.com/nvm-sh/nvm/issues/748
5 years ago
Peter Dave Hello
bac5393e12
[Docs] Syntax highlight for Ansible task example in README.md
5 years ago
Szymon Dzialowski
2d4e877b61
[readme] Stop removing spaces from nvm_path
...
It breaks switching version of node through nvm in directories with space somewhere in it's path.
5 years ago
Jordan Harband
6575b6b052
[Fix] `install`: improved arg parsing around `--reinstall-packages-from`
...
Fixes #1762
5 years ago
Bruce A. MacNaughton
33fa27dabe
[Docs] Update README for environment variables
5 years ago
Sehrope Sarkuni
91a55dd91a
[Refactor] Rename solaris and iojs helper functions to be nvm_ prefixed
...
Renames node_version_has_solaris_binary and nvm_iojs_version_has_solaris_binary
to be prefixed with nvm_ so they do not show up in tab completion following the
word "node".
5 years ago
Jordan Harband
7aba64a2d5
[meta] further TOC action tweaks
5 years ago
Jared Ramirez
dcc8059ef8
[readme] include deeper integration instructions for fish
5 years ago
Jordan Harband
8e1e5df059
[meta] fix TOC action
5 years ago
Jordan Harband
e0ed1eacfd
[meta] add actions: Automatic Rebase for PRs, auto-update-TOC for push
5 years ago
Peter Dave Hello
73438e339e
Update Dockerfile base image to Ubuntu 16.04, cc #2008
5 years ago
Magnus Markling
b02617028f
[Tests] Source nvm.sh before defining FILE
5 years ago
Jordan Harband
f607f2f783
[Fix] `reinstall-packages`: do not include unmet peer deps
...
Closes #1948 .
5 years ago
Jordan Harband
258938ef66
v0.35.3
5 years ago
Jordan Harband
096ba0d8c3
`uninstall`: add `NVM_DEBUG` to print out a filename as its permissions are checked
5 years ago
Jordan Harband
4626d1aae6
[New] add `lts/-1` etc, to point to an LTS line relative to "latest"
5 years ago
Jordan Harband
c372ff03e0
[Tests] update mocks
5 years ago
Jordan Harband
30cd9c5dc8
[Tests] fix update mocks script
5 years ago
Jordan Harband
b9536327ae
[Fix] `nvm ls-remote`: properly label latest LTS versions instead of just the latest one in the filter
...
Fixes #2166
5 years ago
Jordan Harband
e609091a55
[Tests] update test mocks
5 years ago
flip111
8093dbeacd
[readme] add nvm intro
...
Closes #2149 .
5 years ago
Jordan Harband
4cd6b4822c
[Tests] try to make `nvm unload` test more robust
5 years ago
Bruce A. MacNaughton
6c560b12b6
[New] `use`: set `NVM_INC` to expose the node include path
5 years ago
Jordan Harband
f4eddb2c9c
[Tests] ensure `nvm unload` unsets env vars too
5 years ago
Jordan Harband
a1ad32e9cb
[readme] restore broken anchor
5 years ago
nebbles
d8785da988
[Docs] Improve readme clarity and troubleshooting
...
Clean up readme structure a bit to help with readability. fix
instructions which could lead to a sourcing loop if misinterpreted.
guidance should direct macos users to simply copy the source snippet
manually into their desired profile file.
Resolve #2123
5 years ago
Lucian Buzzo
4ff9084e99
[Docs] Fix small typo in README
5 years ago
Jordan Harband
f355b327d6
v0.35.2
5 years ago
Jordan Harband
6fa92c82ca
[Fix] if a prefix env var is set (as in npm run), but is correct, do not fail
...
Fixes #2106 .
5 years ago
Jordan Harband
0899839b95
[Tests] pin `david` to v11
...
v11.1.0 and v12 no longer work on node 0.10; v11.1.1 should.
See https://github.com/alanshaw/david/issues/159
5 years ago
Jordan Harband
73a513c389
[Fix] allow `nvm unalias x` when `x` is a default alias, but shadowed
...
Fixes #2122 .
5 years ago
awthwathje
04ad1b528c
[readme] Fix a typo
5 years ago
Jordan Harband
1c8e59130f
[meta] create FUNDING.yml
5 years ago
Jordan Harband
28bc2fd991
v0.35.1
5 years ago
Jordan Harband
100861d529
[Fix] `install-latest-npm`: `npm` `v6.10` breaks on `node` `v6.0`, `v6.1`, and `v9.0`-`v9.2`
5 years ago
Marit Iren
1eca354233
[Docs] Add description if instructions don't work; make install instructions more readable
5 years ago
Guido Bouman
0a4e6f2b70
[meta] Update ISSUE_TEMPLATE.md
...
Remove the need to indent terminal output by using headings instead of a list.
Simplify formulation of steps
5 years ago