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
Jordan Harband
94a72ae217
[Fix] `nvm use`: improve help output with bare `nvm use` and no `.nvmrc`
...
Closes #1914 .
5 years ago
Jordan Harband
011810e721
v0.35.0
5 years ago
Darío Hereñú
d48abff659
[Docs] clean up formatting in readme
6 years ago
Darío Hereñú
82037b41b1
[Docs] clean up a bit
7 years ago
Roman Isko
7b0a46eafb
[docker] add libssl-dev to Docker image
7 years ago
Roman Isko
dcbecbf2c7
[shellcheck] install shellcheck v0.6.0 in Dockerfile
7 years ago
metasean
970cadf258
[Docs] Add `--latest-npm` info to Migrating global packages section
...
Adds the following information to the "Migrating global packages while installing" section:
- notification that the npm package is explicitly not updated when using the --reinstall-packages-from flag
- information about the --latest-npm flag
- recovery instructions if a user has already updated node with an incompatible npm version
6 years ago
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.
6 years ago
Greg Smith
6537c91eb5
Fix bash auto-use nvm command
...
It was trying to read ./.nvmrc if you cd'ed into a subdirectory of the directory that has .nvmrc, which would give print `-bash: ./.nvmrc: No such file or directory` to stderr and potentially not doing the `nvm install`.
6 years ago
Jordan Harband
07b20d5008
[meta] add copyright line to license file
6 years ago
Sehrope Sarkuni
0b5bb5ccd8
[Fix] `set -u`: Add default empty value for `$NVM_NO_ALIAS`
...
Adds a default value for NVM_NO_ALIAS so that nvm ls does not error out when run
in a bash nounset/-u (no unset vars) environment.
6 years ago