[New] `nvm install`: add `NVM_NO_SOURCE_FALLBACK` to disable the source fallback
Before adoption: this commit came in with the history the project adopted, so no landing records it.
By default a failed binary download falls back to compiling node from source, which is slow and pointless on platforms that always have prebuilt binaries. `-b` already disables the fallback per-invocation; `NVM_NO_SOURCE_FALLBACK=1` makes it the default for every `nvm install`, so CI images and dev setups need not thread `-b` through every callsite. It behaves exactly like `-b` - aborting with a non-zero exit on a failed binary download - and is mutually exclusive with `-s`, for the same reason `-b` is.
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
3 files+66 added−0 removed
- tests:+50 added−0 removed
- other:+16 added−0 removed