mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-11 06:41:50 +00:00
Remove io.js from readme
As io.js doesn't exist anymore, keeping links and references to it can cause confusion
This commit is contained in:
parent
914c220586
commit
7923e83fdb
30
README.md
30
README.md
@ -15,7 +15,6 @@
|
|||||||
- [Long-term support](#long-term-support)
|
- [Long-term support](#long-term-support)
|
||||||
- [Migrating global packages while installing](#migrating-global-packages-while-installing)
|
- [Migrating global packages while installing](#migrating-global-packages-while-installing)
|
||||||
- [Default global packages from file while installing](#default-global-packages-from-file-while-installing)
|
- [Default global packages from file while installing](#default-global-packages-from-file-while-installing)
|
||||||
- [io.js](#iojs)
|
|
||||||
- [System version of node](#system-version-of-node)
|
- [System version of node](#system-version-of-node)
|
||||||
- [Listing versions](#listing-versions)
|
- [Listing versions](#listing-versions)
|
||||||
- [.nvmrc](#nvmrc)
|
- [.nvmrc](#nvmrc)
|
||||||
@ -103,7 +102,7 @@ which should output 'nvm' if the installation was successful. Please note that `
|
|||||||
|
|
||||||
### Important Notes
|
### Important Notes
|
||||||
|
|
||||||
If you're running a system without prepackaged binary available, which means you're going to install nodejs 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.
|
If you're running a system without prepackaged binary available, which means you're going to install nodejs 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.
|
||||||
|
|
||||||
**Note:** `nvm` does not support Windows (see [#284](https://github.com/creationix/nvm/issues/284)). Two alternatives exist, which are neither supported nor developed by us:
|
**Note:** `nvm` does not support Windows (see [#284](https://github.com/creationix/nvm/issues/284)). Two alternatives exist, which are neither supported nor developed by us:
|
||||||
|
|
||||||
@ -241,7 +240,6 @@ nvm which 5.0
|
|||||||
In place of a version pointer like "0.10" or "5.0" or "4.2.1", you can use the following special default aliases with `nvm install`, `nvm use`, `nvm run`, `nvm exec`, `nvm which`, etc:
|
In place of a version pointer like "0.10" or "5.0" or "4.2.1", you can use the following special default aliases with `nvm install`, `nvm use`, `nvm run`, `nvm exec`, `nvm which`, etc:
|
||||||
|
|
||||||
- `node`: this installs the latest version of [`node`](https://nodejs.org/en/)
|
- `node`: this installs the latest version of [`node`](https://nodejs.org/en/)
|
||||||
- `iojs`: this installs the latest version of [`io.js`](https://iojs.org/en/)
|
|
||||||
- `stable`: this alias is deprecated, and only truly applies to `node` `v0.12` and earlier. Currently, this is an alias for `node`.
|
- `stable`: this alias is deprecated, and only truly applies to `node` `v0.12` and earlier. Currently, this is an alias for `node`.
|
||||||
- `unstable`: this alias points to `node` `v0.11` - the last "unstable" node release, since post-1.0, all node versions are stable. (in SemVer, versions communicate breakage, not stability).
|
- `unstable`: this alias points to `node` `v0.11` - the last "unstable" node release, since post-1.0, all node versions are stable. (in SemVer, versions communicate breakage, not stability).
|
||||||
|
|
||||||
@ -273,7 +271,6 @@ You can also install and migrate npm packages from specific versions of Node lik
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
nvm install 6 --reinstall-packages-from=5
|
nvm install 6 --reinstall-packages-from=5
|
||||||
nvm install v4.2 --reinstall-packages-from=iojs
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Default global packages from file while installing
|
### Default global packages from file while installing
|
||||||
@ -288,22 +285,6 @@ object-inspect@1.0.2
|
|||||||
stevemao/left-pad
|
stevemao/left-pad
|
||||||
```
|
```
|
||||||
|
|
||||||
### io.js
|
|
||||||
|
|
||||||
If you want to install [io.js](https://github.com/iojs/io.js/):
|
|
||||||
|
|
||||||
```sh
|
|
||||||
nvm install iojs
|
|
||||||
```
|
|
||||||
|
|
||||||
If you want to install a new version of io.js and migrate npm packages from a previous version:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
nvm install iojs --reinstall-packages-from=iojs
|
|
||||||
```
|
|
||||||
|
|
||||||
The same guidelines mentioned for migrating npm packages in Node.js are applicable to io.js.
|
|
||||||
|
|
||||||
### System version of node
|
### System version of node
|
||||||
|
|
||||||
If you want to use the system-installed version of node, you can use the special default alias "system":
|
If you want to use the system-installed version of node, you can use the special default alias "system":
|
||||||
@ -348,15 +329,6 @@ nvm install node
|
|||||||
NVM_NODEJS_ORG_MIRROR=https://nodejs.org/dist nvm install 4.2
|
NVM_NODEJS_ORG_MIRROR=https://nodejs.org/dist nvm install 4.2
|
||||||
```
|
```
|
||||||
|
|
||||||
To use a mirror of the io.js binaries, set `$NVM_IOJS_ORG_MIRROR`:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
export NVM_IOJS_ORG_MIRROR=https://iojs.org/dist
|
|
||||||
nvm install iojs-v1.0.3
|
|
||||||
|
|
||||||
NVM_IOJS_ORG_MIRROR=https://iojs.org/dist nvm install iojs-v1.0.3
|
|
||||||
```
|
|
||||||
|
|
||||||
`nvm use` will not, by default, create a "current" symlink. Set `$NVM_SYMLINK_CURRENT` to "true" to enable this behavior, which is sometimes useful for IDEs. Note that using `nvm` in multiple shell tabs with this environment variable enabled can cause race conditions.
|
`nvm use` will not, by default, create a "current" symlink. Set `$NVM_SYMLINK_CURRENT` to "true" to enable this behavior, which is sometimes useful for IDEs. Note that using `nvm` in multiple shell tabs with this environment variable enabled can cause race conditions.
|
||||||
|
|
||||||
### .nvmrc
|
### .nvmrc
|
||||||
|
Loading…
Reference in New Issue
Block a user