mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 22:31:51 +00:00
Lovely text improvements from @ljharb
This commit is contained in:
parent
1810d36fa5
commit
7f14a12555
@ -25,6 +25,6 @@ npm install
|
|||||||
make test
|
make test
|
||||||
```
|
```
|
||||||
|
|
||||||
You might be asked for your password for some tests that require a few extra privilages. If you don't want to enter it, feel free not to, but the related tests will fail.
|
You might be asked for your password for some tests that require a few extra privileges. If you don't want to enter it, feel free not to, but the related tests will fail.
|
||||||
|
|
||||||
Thanks again!
|
Thanks again!
|
||||||
|
@ -346,11 +346,13 @@ Now using node v5.9.1 (npm v3.7.3)
|
|||||||
|
|
||||||
### .node-version
|
### .node-version
|
||||||
|
|
||||||
For a little compatability with other node version managers, nvm will also sniff for `.node-version` files. They're the same as `.nmvrc`, they just share a common name.
|
For a little compatability with other node version managers, nvm will also sniff for `.node-version` files, defaulting to `.nvmrc` if both are found in the same folder.
|
||||||
|
|
||||||
|
```
|
||||||
$ echo "5.9" > .node-version
|
$ echo "5.9" > .node-version
|
||||||
|
```
|
||||||
|
|
||||||
They'll be loaded after `.nvmrc`, and can contain the same values as `.nvmrc`.
|
Unlike `.nvmrc`, `.node-version` cannot contain a "versionish" (an alias, like `node`, `iojs`, or a custom alias you’ve defined). `.node-version` can only have versions in the format of v1, v1.2, or v1.2.3 (the `v` is optional).
|
||||||
|
|
||||||
|
|
||||||
### Deeper Shell Integration
|
### Deeper Shell Integration
|
||||||
|
Loading…
Reference in New Issue
Block a user