node.js - how come I have so many versions of nodejs? -




how come have many versions of nodejs.

i have multiple of command prompts applications, have 1. nodejs cmd 2. ubunto bash cmd 3. normal cmd , bunch of others dont use them..

my question is. 1.how update nodejs in system , automatically reflected on of cmd's? possible? 2. why happening? 3. cmd should use running node applications?

below snapshots of cmds , result gave me when checked version of node.

command prompt

node cmd

bash

  1. how update nodejs in system , automatically reflected on of cmd's?
  2. why happening?

you can install node.js globally, have different versions because didn't install globally, cmds can't automatically reflected. can see blog how install node.js globally: how install node.js on ubuntu 16.04

  1. what cmd should use running node applications?

you can run node applications using cmd want, doesn't matter.





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -