Using NVM and Autoenv in Combination

In this blog post, we will learn how to use nvm (Node Version Manager) and autoenv together to manage Node.js versions and environment variables in your development workflow. This guide assumes you have already installed both nvm and autoenv on your system. Why use NVM and Autoenv together? nvm is a fantastic tool for managing multiple versions of Node.js on your system, allowing you to switch between them easily. autoenv simplifies the process of managing environment variables by automatically loading them from a ....

March 23, 2023 · 2 min · Juhyun Lee

Managing Multiple Node.js Environments with NVM

I. Overview Node Version Manager (NVM) is a useful tool for managing and switching between multiple Node.js versions. In this blog post, we’ll cover the most commonly used features of NVM, installation instructions for different platforms, and why it’s a valuable tool for developers. II. Installation macOS Using Homebrew: brew install nvm mkdir ~/.nvm Add the following lines to your .bash_profile, .zshrc, or other shell configuration file: export NVM_DIR="$HOME/.nvm" [ -s "$(brew --prefix)/opt/nvm/nvm....

March 18, 2023 · 3 min · Juhyun Lee