Set a default sheet music version with nvm


As I’ve shown you before, nvm an excellent tool for switching between Node.js versions. Whether it’s your host machine or CI, it’s a necessity to build and test your apps on different Node versions. I recently found a few nvm commands that I found really useful during local development.

To set a default node version on your machine without touching your system installation, you can use:

nvm alias default [version_here]

To automatically switch to the sheet music version that best suits a project package.json file, just type:

nvm use

I have always loved nvm but I still catch myself changing versions manually when I could automate that process with a few commands!

Monitoring the performance of the website
Monitoring the performance of the website
Monitoring the performance of the website
Monitoring the performance of the website
  • Write simple, elegant, and easy-to-maintain media queries with Sass
  • JavaScript Promise API

    JavaScript Promise API

    While synchronous code is easier to follow and troubleshoot, asynchronous is generally better for performance and flexibility. Why “stop the show” when you can trigger multiple requests at once and then handle them when each one is ready? Promises are becoming a big part of the JavaScript world …

  • Adding events to add events in MooTools

    Adding events to add events in MooTools

    Note: This post has been updated. One of my major annoyances is when an item has click events attached to it but the item does not have the “cursor” cursor. I mean how the heck should the user know that they can / should click on …

  • Style Textarea Resizers

Leave a Comment