Author -  Sai gowtham

Setting a default Node version in nvm

In this tutorial, we are going to learn about how to set a default node version in the nvm manager.

If you install multiple node.js versions using the nvm (node version manager), you can use one of the installed versions by using the following command.

nvm use v10.14.1

Now, when you close the terminal and open a new one nvm forgets your node command and prints the following error in your terminal.

➜  ~ node -v
zsh: command not found: node

To fix this, you need to set a default node version using:

nvm alias default 10.14.1

Here 10.14.1 is my node version number (in your case it will be different) and it persists the change even after closing the terminal.

You can also view the installed node versions like this.

nvm list

output:

$ nvm list
         v8.0.0
->       v10.14.1
         system

Css Tutorials & Demos

How rotate an image continuously in CSS

In this demo, we are going to learn about how to rotate an image continuously using the css animations.

How to create a Instagram login Page

In this demo, i will show you how to create a instagram login page using html and css.

How to create a pulse animation in CSS

In this demo, i will show you how to create a pulse animation using css.

Creating a snowfall animation using css and JavaScript

In this demo, i will show you how to create a snow fall animation using css and JavaScript.

Top Udemy Courses

JavaScript - The Complete Guide 2023 (Beginner + Advanced)
JavaScript - The Complete Guide 2023 (Beginner + Advanced)
116,648 students enrolled
52 hours of video content
$14.99 FROM UDEMY
React - The Complete Guide (incl Hooks, React Router, Redux)
React - The Complete Guide (incl Hooks, React Router, Redux)
631,582 students enrolled
49 hours of video content
$24.99 FROM UDEMY
Vue - The Complete Guide (w/ Router, Vuex, Composition API)
Vue - The Complete Guide (w/ Router, Vuex, Composition API)
203,937 students enrolled
31.5 hours of video content
$14.99 FROM UDEMY