![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@shadowspawn/nvh
Advanced tools
Easily install Node.js versions. No profile setup required for default install location.
Requires bash
(and does not require a working node install).
Forked from tj/n with changes to command syntax, bug fixes, and new features.
If you already have node
, the easiest way to install nvh
is through npm
:
npm install -g @shadowspawn/nvh
nvh help
nvh
installs node to /usr/local
by default, but you may change this location by defining NVH_PREFIX
(see environment variables). The downloads are written to a stash in subdirectory nvh/versions
.
One way to bootstrap an install if npm
is not yet available:
curl -L https://github.com/JohnRGee/nvh/raw/master/bin/nvh -o nvh
bash nvh install lts
# Now node and npm are available
Execute nvh install <version>
to download and install a version of node
. If <version>
has already been downloaded, nvh
will install from its stash.
nvh install 4.9.1
nvh i lts
Execute nvh
on its own to view your downloaded versions, and install the selected version.
$ nvh
node/v4.9.1
ο node/v6.14.3
node/v8.11.3
Use up/down arrow keys to select a version, return key to install, q to quit
(You can also use j
and k
to navigate up or down without using arrows.)
There are a variety of ways of specifying the target node version for nvh
commands. Most commands use the latest matching version, and nvh ls-remote
lists multiple matching versions.
Numeric version numbers can be complete or incomplete, with an optional leading v
.
4.9.1
8
: 8.x.y versionsv6.1
: 6.1.x versionsThere are labels for two especially useful versions:
lts
: newest Long Term Support official releaselatest
, current
: newest official releaseThere is support for release streams:
argon
, boron
, carbon
: codenames for LTS release streamsv6.x
, 7.x
: major version number release streamsThe last form is for specifying other releases available using the name of the remote download folder followed by the complete or incomplete version.
chakracore-release/latest
nightly/10
test/v11.0.0-test20180528
rc/v10.0.0-rc.1
There are two commands for working directly with your downloaded versions of node
, without reinstalling.
You can show the path to the downloaded version:
$ nvh which 6.14.3
/usr/local/nvh/versions/6.14.3/bin/node
Or run a downloaded node
version with the nvh run
command:
nvh run 8.11.3 --debug some.js
A node
install normally includes npm
as well, but you may wish to preserve an updated npm
and npx
leaving them out of the install:
$ nvh install latest
installed : v10.6.0
$ npm --version
6.1.0
$ nvh install --preserve v8.0.0
installed : v8.0.0
$ npm --version
6.1.0
List matching remote versions available for download:
nvh ls-remote lts
nvh ls-remote latest
nvh lsr 6
nvh lsr --all
List downloaded versions in stash:
nvh ls
Remove some downloaded versions:
nvh rm 0.9.4 v0.10.0
Remove all downloaded versions except the installed version:
nvh prune
Display diagnostics to help resolve problems:
nvh doctor
The nvh
command downloads and installs to /usr/local
by default, but you may override this location by defining NVH_PREFIX
.
To change the location to say $HOME/.nvh
, add lines like the following to your shell initialization file:
export NVH_PREFIX=$HOME/.nvh
export PATH=$NVH_PREFIX/bin:$PATH
See Environment Variables for more about these settings:
NVH_NODE_MIRROR
NVH_NODE_DOWNLOAD_MIRROR
NVH_MAX_REMOTE_MATCHES
See Proxy Server for variables and advice for using a proxy server.
https_proxy
nvh
nvh
is a fork from tj/n, so the original is an alternative!
nvh
does not:
Three alternatives offering different feature sets are:
[5.0.0] (2018-08-19)
NVH_USER
and NVH_PASSWORD
: instead, include in NVH_NODE_MIRROR
)NVH_PROXY_USER
and NVH_PROXY_PASSWORD
: instead, include in proxy url or .curlrc
or .wgetrc
FAQs
Node Version Helper. Easily install Node.js versions.
The npm package @shadowspawn/nvh receives a total of 2 weekly downloads. As such, @shadowspawn/nvh popularity was classified as not popular.
We found that @shadowspawn/nvh demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.