1.0.1 • Published 9 years ago
updatify v1.0.1
updatify
CLI app for updating Node and npm on Windows.
Installation
npm i -g updatifyQuickstart
updating node
# checks whether a new node version is available
updatify node --check
# downloads the latest Node installer into the
# Downloads directory and starts it
updatify nodeupdating npm
# checks whether a new npm version is available
updatify npm --check
# installs the latest npm version
updatify npmCommands
updatify
--help/-h: displays help information--version/-v: outputs the version number
updatify node
--check/-c: checks whether an update is available, but doesn't actually update node--bits/-b: specifies whether the32-bit or64-bit version should be downloaded; default:64--dir/-d: specifies the directory in which the installer is saved; default:C:/Users/<User>/Downloads--download: only downloads the installer, but doesn't start it--latest/-l: downloads (or, if the--checkflag is set, checks for) the latest node version; please note that this flag may be omitted as downloading the latest version is the default behavior--lts: downloads (or, if the--checkflag is set, checks for) the latest Long Term Support version
updatify npm
--check/-c: checks whether an update is available, but doesn't actually update npm--latest/-l: downloads (or, if the--checkflag is set, checks for) the latest npm version; please note that this flag may be omitted as downloading the latest version is the default behavior--lts: downloads (or, if the--checkflag is set, checks for) the latest Long Term Support version--next/-n: downloads (or, if the--checkflag is set, checks for) the next npm version--force/-f: installs the latest npm version by executingcurl -L https://www.npmjs.org/install.sh | shwithout any prior checks; this options is useful if your npm is broken; however, it requiressh(which comes with Git For Windows, for example) andcurl; note that this flag disregards the--check,--ltsand--nextflags; use with caution
License
WTFPL – Do What the F*ck You Want to Public License.
Made with :heart: by @MarkTiedemann.