- Learn WebAssembly
- Mike Rourke
- 139字
- 2021-08-13 15:38:58
Installing Node.js using nvm
After installing nvm, you need to install the version of Node.js we will use in this book: version 8.11.1. To install it, run this command:
nvm install 8.11.1
If you didn't have Node.js or nvm previously installed, it will automatically set this to your default Node.js installation, so the output of this command should be v8.11.1:
node --version
If you have existing Node.js versions installed, you can either use v8.11.1 as a default, or ensure that you run this command to use v8.11.1 when working through the examples in this book:
nvm use 8.11.1
You can create a file named .nvmrc in the folder with your code and populate it with the contents v8.11.1. You can run nvm use within this directory and it will set the version to 8.11.1 without having to specify it.
推薦閱讀
- Python編程自學手冊
- OpenShift開發指南(原書第2版)
- Java Web基礎與實例教程(第2版·微課版)
- Python Game Programming By Example
- PyTorch自然語言處理入門與實戰
- 用戶體驗增長:數字化·智能化·綠色化
- R語言與網絡輿情處理
- 智能手機APP UI設計與應用任務教程
- Scala Data Analysis Cookbook
- 大話Java:程序設計從入門到精通
- Vue.js應用測試
- 人工智能算法(卷1):基礎算法
- Natural Language Processing with Python Quick Start Guide
- Learning Grunt
- 嵌入式Linux C語言程序設計基礎教程