Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJaredWilcurt authored Dec 14, 2023
1 parent 4faff73 commit dafe8cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ Updates the Volta config in your `package.json` so your Node.js version will mat

## Usage

1. Uninstall any Node Version Managers you have, then install [Volta](https://volta.sh)
1. `npm pkg set scripts.postinstall="npx base-volta-off-of-nwjs"`
1. `npm install`

This will add a command to your npm scripts that will automatically run after every time you do an `npm install`. It will update the Volta object in your `package.json` so the `node` value will match

Expand Down

0 comments on commit dafe8cc

Please sign in to comment.