Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1.12 KB

nvm.md

File metadata and controls

49 lines (32 loc) · 1.12 KB

Node Version Manager

Introduction

A2R Framework needs at least Node.js version 10.10. If you have a lower version, it might mean you need that version to run other (older) projects. If that's your case, we recommend you to use nvm. This way, you can have multiple versions on your machine and switch between them depending on the project you are working with.

Installation

There are multiple options, check nvm docs.

Usage

You can list installed versions on your machine:

nvm ls

You can also list available Node.js versions:

nvm ls-remote

If you need any specific version you can install it:

nvm install 10.10.0

You can switch your node version:

nvm use 10.10.0

Or maybe you just want to execute a singular project with a different version. You can do it:

nvm exec 8.0 npm run dev

If you have any question, you can check the original usage docs.