Tweak NVM install instructions to to explain what nvm is
This commit is contained in:
parent
2bcced0e5b
commit
6a052927d3
1 changed files with 6 additions and 6 deletions
|
|
@ -12,7 +12,7 @@
|
||||||
_Note: If you are using a Windows OS, the following commands must be executed in a Powershell terminal._
|
_Note: If you are using a Windows OS, the following commands must be executed in a Powershell terminal._
|
||||||
|
|
||||||
* [Get Node.js v26 using the official installation scripts for your operating system.](https://nodejs.org/en/download/current)
|
* [Get Node.js v26 using the official installation scripts for your operating system.](https://nodejs.org/en/download/current)
|
||||||
* Install configurations: NPM is required, NVM is optional.
|
* [Get Node.js v26 using the official installation scripts for your operating system.](https://nodejs.org/en/download/current) *(Optionally, you can instead install NVM as explained below)*.
|
||||||
* Navigate into the webapp directory with `cd webapp`
|
* Navigate into the webapp directory with `cd webapp`
|
||||||
* Install dependencies with `npm install`
|
* Install dependencies with `npm install`
|
||||||
* Build the static web app with `npm run build`
|
* Build the static web app with `npm run build`
|
||||||
|
|
@ -20,11 +20,11 @@ _Note: If you are using a Windows OS, the following commands must be executed in
|
||||||
|
|
||||||
#### ( Optional ) Using NVM "Node-Version-Manager"
|
#### ( Optional ) Using NVM "Node-Version-Manager"
|
||||||
|
|
||||||
* [Install NVM](https://github.com/nvm-sh/nvm#installing-and-updating)
|
If you have multiple projects that use different versions of Node.JS you can install Node Version Manager (NVM) to allow you to switch version from the terminal. To use NVM:
|
||||||
* To install Node.js v26 run:
|
|
||||||
`nvm install 26`
|
* [Install NVM](https://www.nvmnode.com/guide/installation.html)
|
||||||
* To set the Node.js to version 26:
|
* Install Node.js v26 with `nvm install 26`
|
||||||
`nvm use 26`
|
* Set the Node.js to version 26 with `nvm use 26`
|
||||||
|
|
||||||
|
|
||||||
## Live Server
|
## Live Server
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue