summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2022-04-21 09:39:24 +0200
committerOskar Nyberg <oskar@mullvad.net>2022-04-22 10:20:43 +0200
commit4ac7f0f1641a552a46d0c3f3a336db08d111e5f7 (patch)
tree096e1ab15daeb8fd7109a69f19b9915540ce49ad
parent86efd7cc81c98c0135f5c563fdd499d3182b8b68 (diff)
downloadmullvadvpn-4ac7f0f1641a552a46d0c3f3a336db08d111e5f7.tar.xz
mullvadvpn-4ac7f0f1641a552a46d0c3f3a336db08d111e5f7.zip
Replace nvm with volta in readme
-rw-r--r--README.md13
1 files changed, 9 insertions, 4 deletions
diff --git a/README.md b/README.md
index a6ffe5bd37..60a014aa3d 100644
--- a/README.md
+++ b/README.md
@@ -271,12 +271,17 @@ storePassword = keystore-password
1. *This can be skipped for Android builds*.
- Get the latest version 16 release of Node.js and the latest version of npm. The Node.js version
- is specified in `.nvmrc` and can be installed by running the following from any directory within
- this repository:
+ Any Node.js version above 16 and the latest npm version should work. The exact Node.js and NPM
+ versions that we target are specified in `package.json` in the `volta` section. Those versions
+ will be used automatically if volta is installed and setup.
+
+ To install Volta, run:
```
- nvm install --latest-npm
+ cargo install --git https://github.com/volta-cli/volta
+ volta setup
```
+ or follow the their instructions: https://github.com/volta-cli/volta.
+
If installing Node.js manually then the latest version of npm can be installed by running:
```