![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:
git clone git@github.com:JohnRGee/nvh.git
./nvh/bin/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
: latest Long Term Support official releaselatest
: latest 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
tj/n
There are a lot of minor changes! Taking advantage of a fresh start.
n use
and n as
--> nvh run
n --lts
--> nvh lsr lts
n --latest
--> nvh lsr latest
n <version>
--> nvh i[nstall] version
rsync
rather than cp
for installsn bin
aliasn -
aliasstable
version label--download
option--arch
optionThe 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 more Environment Variables for specifying a custom node mirror, working through a proxy, and other settings.
nvh
nvh
is a fork from tj/n, so the original is an alternative!
nvh
does not:
Three alternatives offering different feature sets are:
[4.0.0] (2018-07-29)
Major changes to install:
install
command like nvh install lts
rsync
nvh
version selectioncurrent
as alias for latest
nvh install <version>
command, rather than implicit nvh <version>
rsync
. This is a significant change and a new dependency for minimal installs, but allows improving some behaviours in a consistent way.
shellcheck
(ongoing work-in-progress)
--preserve
now works with interactive version selection toocurl
and wget
commandsFAQs
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.