For lot's more information about this you can refer to this stackoverflow question: How do I update Node. PS: The command nvm ls-remote will give you a live list of all node versions available to nvm. What is NVM (Node Version Manager) NVM, short for Node Version Manager, is a powerful command-line tool that allows developers to easily manage and switch between multiple versions of Node.js on a single machine. The fact there is a system version shouldn't cause problems if nvm is working.įor what is perhaps the real question of why you have no NVM versions installed, or what version of node you are trying to restore unfortunately there's no way of telling from the information provided. However if you're using nvm you should simply be able to install the version you want by running e.g. (assuming you have a standard Ubuntu installation using apt and dpkg and have the standard nodejs package installed). This should install the latest Ruby version. Installing Ruby using Homebrew is easy: brew install ruby. Homebrew is a commonly used package manager on macOS. Homebrew (macOS) Ruby versions 2.0 and above are included by default in macOS releases since at least El Capitan (10.11). Homebrew is a commonly used package manager on macOS. This should install the latest stable Ruby version. More precisely to query the system version You should be able to see that using the command dpkg -s nodejs. nvm is a version manager for node.js, designed to be installed per-user, and invoked per-shell. This should install the latest stable Ruby version. That is the output that you see if you don't have any NVM versions installed but you have a system version installed.Īlthough it doesn't give the version of the system package but you can see what version you are using at any given time by using the command node -version To show what ruby is currently the selected default, if any, do: rvm list rvm rubies ruby-1.9.3-p484 x8664 ruby-2.0.0-p481 x8664 > ruby-2.1.
0 Comments
Leave a Reply. |