Skip to main content

Posts

Best way of installing Node.js using NVM

 NVM stands for Node Version Manager. Developers always need to work on multiple projects built on multiple node version. NVM helps us to manage multiple node version in a single machine.  We have two steps: 1. Install nvm 2. Install node using nvm 1. Install nvm $ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh $ source ~/.bashrc This will install nvm in your machine. 2. Install node using nvm First we need to check all the available node versions in nvm repository and then we will install $ nvm list-remote ... v14.17.3 (LTS: Fermium) v14.17.4 (LTS: Fermium) v14.17.5 (LTS: Fermium) v14.17.6 (LTS: Fermium) v14.18.0 (LTS: Fermium) v14.18.1 (LTS: Fermium) v14.18.2 (Latest LTS: Fermium) v15.0.0 v15.0.1 v15.1.0 v15.2.0 v15.2.1 v15.3.0 v15.4.0 v15.5.0 v15.5.1 v15.6.0 v15.7.0 v15.8.0 v1...
Recent posts

Run Python project with virtual environment or VM

We can find python installer for our operating system from https://www.python.org. There are two types of python installer. 1. Python 2.x 2. Python 3.x But, Python 2.7 will retire in 2020. We can find countdown site in https://pythonclock.org/ . So, it will be a good decision to learn Python 3.x, though tons of project already done by Python 2.x. Gradually, most of them upgrading themselves.  Python is already installed in Mac and Linux. To find python, just open terminal and write: $ python Python 2.7.12 (default, Dec 4 2017, 14:50:18) [GCC 5.4.0 20160609] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> exit() $ python3 Python 3.5.2 (default, Nov 23 2017, 16:37:01) [GCC 5.4.0 20160609] on linux Type "help", "copyright", "credits" or "license" for more information. >>> exit() But for Windows we need to install it. So, download Python 3.5.x and ...