[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
Provenance
- Commit
59d4ea8- Tree
ab8bde2- Author
Peter Dave Hello <hsu@peterdavehello.org>- Committer
Jordan Harband <ljharb@gmail.com>- Parent
6a16398
4 files changed+6 added−6 removed
modified:CONTRIBUTING.md+1 added-1 removed
21 unmodified lines2223242526262728293093 unmodified lines21 unmodified lines
* **Use a clear and descriptive title** for the issue to identify the problem.
* **Describe the exact steps which reproduce the problem** in as many details as possible. For example, start by explaining which command exactly you used in the terminal. When listing steps, **don't just say what you did, but explain how you did it**. For example, if you moved the cursor to the end of a line, explain if you used the mouse, or a keyboard shortcut or a command, and if so which one?* **Provide specific examples to demonstrate the steps**. Include links to files or Github projects, or copy/pasteable snippets, which you use in those examples. If you're providing snippets in the issue, use [Markdown code blocks](https://help.github.com/articles/markdown-basics/#multiple-lines).* **Provide specific examples to demonstrate the steps**. Include links to files or GitHub projects, or copy/pasteable snippets, which you use in those examples. If you're providing snippets in the issue, use [Markdown code blocks](https://help.github.com/articles/markdown-basics/#multiple-lines).* **Describe the behavior you observed after following the steps** and point out what exactly is the problem with that behavior.* **Explain which behavior you expected to see instead and why.*** **Provide as much context as possible** in order to help others verify and ultimately fix the issue. This includes giving us as many details as possible about your environment, so we can more easily confirm the problem.
93 unmodified linesmodified:install.sh+1 added-1 removed
65 unmodified lines66 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@67 IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!68 69 The default repository for this install is \`nvm-sh/nvm\`,70-but the environment variables \`\$NVM_INSTALL_GITHUB_REPO\` is70+but the environment variable \`\$NVM_INSTALL_GITHUB_REPO\` is71 currently set to \`${NVM_GITHUB_REPO}\`.72 73 If this is not intentional, interrupt this installation and74 verify your environment variables.433 unmodified linesmodified:nvm.sh+1 added-1 removed
2280 unmodified lines2281 [ -n "${TMPDIR-}" ] && \2282 command mkdir -p "${TMPDIR}" && \2283 VERSION_PATH="$(nvm_version_path "${PREFIXED_VERSION}")" || return 12284 2285- # 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 linesmodified:README.md+3 added-3 removed
93 unmodified lines94 Simple as that!95 96 97 ## About98-nvm 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).98+nvm 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).99 100 <a id="installation-and-update"></a>101 <a id="install-script"></a>102 ## Installing and Updating175 unmodified lines278 ### Important Notes279 280 If 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.281 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 [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:283 284 - [nvm-windows](https://github.com/coreybutler/nvm-windows)285 - [nodist](https://github.com/marcelklehr/nodist)286 - [nvs](https://github.com/jasongin/nvs)652 unmodified lines939 Alpine 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.940 941 There is a `-s` flag for `nvm install` which requests nvm download Node source and compile it locally.942 943-If 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:943+If 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:944 945 ### Alpine Linux 3.13+946 ```sh947 apk add -U curl bash ca-certificates openssl ncurses coreutils python3 make gcc g++ libgcc linux-headers grep util-linux binutils findutils247 unmodified lines