Skip to content
Myr

[Docs] Clean up wording in docs and shell comments

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Adjust a few spelling, grammar, and naming inconsistencies in the docs and related shell comments without changing behavior.

authored by Peter Dave Hello · committed by Jordan Harband · parent 6a16398 · Browse files · 4 files+6 added−6 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

4 files+6 added−6 removed

  • other:+6 added−6 removed

4 files+6 added−6 removed

modified:CONTRIBUTING.md+1 added-1 removed
modified:install.sh+1 added-1 removed
65 unmodified lines
66@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@67IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!6869The default repository for this install is \`nvm-sh/nvm\`,70but the environment variables \`\$NVM_INSTALL_GITHUB_REPO\` is70but the environment variable \`\$NVM_INSTALL_GITHUB_REPO\` is71currently set to \`${NVM_GITHUB_REPO}\`.7273If this is not intentional, interrupt this installation and74verify your environment variables.
433 unmodified lines
modified:nvm.sh+1 added-1 removed
2280 unmodified lines
2281 [ -n "${TMPDIR-}" ] && \2282 command mkdir -p "${TMPDIR}" && \2283 VERSION_PATH="$(nvm_version_path "${PREFIXED_VERSION}")" || return 122842285 # For Windows system (GitBash with MSYS, Cygwin)2285 # For Windows system (Git Bash with MSYS, Cygwin)2286 if [ "${NVM_OS}" = 'win' ]; then2287 VERSION_PATH="${VERSION_PATH}/bin"2288 command unzip -q "${TARBALL}" -d "${TMPDIR}" || return 12289 # For non Windows system (including WSL running on Windows)
2531 unmodified lines
modified:README.md+3 added-3 removed
93 unmodified lines
94Simple as that!959697## About98nvm is a version manager for [node.js](https://nodejs.org/en/), designed to be installed per-user, and invoked per-shell. `nvm` works on any POSIX-compliant shell (sh, dash, ksh, zsh, bash), in particular on these platforms: unix, macOS, and [windows WSL](https://github.com/nvm-sh/nvm#important-notes).98nvm is a version manager for [node.js](https://nodejs.org/en/), designed to be installed per-user, and invoked per-shell. `nvm` works on any POSIX-compliant shell (sh, dash, ksh, zsh, bash), in particular on these platforms: unix, macOS, and [Windows WSL](https://github.com/nvm-sh/nvm#important-notes).99100<a id="installation-and-update"></a>101<a id="install-script"></a>102## Installing and Updating
175 unmodified lines
278### Important Notes279280If you're running a system without prepackaged binary available, which means you're going to install node or io.js from its source code, you need to make sure your system has a C++ compiler. For OS X, Xcode will work, for Debian/Ubuntu based GNU/Linux, the `build-essential` and `libssl-dev` packages work.281282**Note:** `nvm` also supports Windows in some cases. It should work through WSL (Windows Subsystem for Linux) depending on the version of WSL. It should also work with [GitBash](https://gitforwindows.org/) (MSYS) or [Cygwin](https://cygwin.com). Otherwise, for Windows, a few alternatives exist, which are neither supported nor developed by us:282**Note:** `nvm` also supports Windows in some cases. It should work through WSL (Windows Subsystem for Linux) depending on the version of WSL. It should also work with [Git Bash](https://gitforwindows.org/) (MSYS) or [Cygwin](https://cygwin.com). Otherwise, for Windows, a few alternatives exist, which are neither supported nor developed by us:283284 - [nvm-windows](https://github.com/coreybutler/nvm-windows)285 - [nodist](https://github.com/marcelklehr/nodist)286 - [nvs](https://github.com/jasongin/nvs)
652 unmodified lines
939Alpine Linux, unlike mainstream/traditional Linux distributions, is based on [BusyBox](https://www.busybox.net/), a very compact (~5MB) Linux distribution. BusyBox (and thus Alpine Linux) uses a different C/C++ stack to most mainstream/traditional Linux distributions - [musl](https://www.musl-libc.org/). This makes binary programs built for such mainstream/traditional incompatible with Alpine Linux, thus we cannot simply `nvm install X` on Alpine Linux and expect the downloaded binary to run correctly - you'll likely see "...does not exist" errors if you try that.940941There is a `-s` flag for `nvm install` which requests nvm download Node source and compile it locally.942943If installing nvm on Alpine Linux *is* still what you want or need to do, you should be able to achieve this by running the following from you Alpine Linux shell, depending on which version you are using:943If installing nvm on Alpine Linux *is* still what you want or need to do, you should be able to achieve this by running the following from your Alpine Linux shell, depending on which version you are using:944945### Alpine Linux 3.13+946```sh947apk add -U curl bash ca-certificates openssl ncurses coreutils python3 make gcc g++ libgcc linux-headers grep util-linux binutils findutils
247 unmodified lines