jacky@nyc ~ %cat scripts/
"title": "Update Node.js via NVM",
"category": "AppleScript",
"language": "AppleScript",
"description": "Installs current LTS Node.js versions (per the official release schedule), sets the latest as default, migrates global packages, and removes non-LTS versions."
jacky@nyc ~/update-nodejs-via-nvm %ls -l latest/
Files
Download individual files from the latest release.
- script.applescriptDownload
jacky@nyc ~/update-nodejs-via-nvm %git log --tags --date=short
Version history
Every published version stays available, with release notes and its original files.
tag v1.5.0 (HEAD -> latest)
Date:
Commands run in the background, and only missing or outdated global packages are reinstalled.
tag v1.4.1
Date:
Errors show the command's own message instead of a generic exit status.
tag v1.4.0
Date:
Renamed to "Update Node.js via NVM". Installs the current LTS versions, sets the newest as default, moves global packages over, and removes non-LTS versions.
tag v1.3.0
Date:
Command-line mode with a dry run, and a test script for automated checks.
tag v1.2.0
Date:
Rewritten to reinstall global packages, restore the previous default version, and avoid the npm ".DS_Store" error.
tag v1.1.0
Date:
Installs the newest release of each Node.js major version already installed.
tag v1.0.0
Date:
First version. Updates npm and nvm using your shell profile.