As I’ve shown you in the past,
nvm an excellent utility for switching between Node.js versions. Whether your host machine or CI, building and testing your apps on different Node versions is a necessity. I’ve 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’s install, you can use:
nvm alias default [version_here]
To automatically switch to the node version that best suits a project’s
package.json file, simply type:
I’ve always loved
nvm but I still catch myself manually changing versions when I could automate that process with a few commands!
In 2001 I had just graduated from a small town high school and headed off to a small town college. I found myself in the quaint computer lab where the substandard computers featured two browsers: Internet Explorer and Mozilla. It was this lab where I fell…
We’ve always been able to create links with protocols other than the usual HTTP, like mailto, skype, irc ,and more; they’re an excellent convenience to visitors. With mobile phone browsers having become infinitely more usable, we can now extend that convenience to phone numbers: The