Gatsby: text in tutorial referrs to nvm, not npm

Created on 9 Feb 2020  路  4Comments  路  Source: gatsbyjs/gatsby

Summary

The code block under Set default node.js version refers to nvm, not npm.

Motivation

To make the code block refer to the correct command

Draft the doc

npm install 10
npm use 10

Open a pull request

  • [ ] Open a pull request with your work including the words "closes #[this issue's number]" in the pull request description
documentation

All 4 comments

nvm is correct. It's a tool to let you change node versions.

https://github.com/nvm-sh/nvm

Thanks for contributing!

oof I feel so foolish for not googling that first 馃う鈥嶁檪 Thanks!

this issue point out that the doc is missing a short sentence here to explain what is the nvm tool

Was this page helpful?
0 / 5 - 0 ratings