- 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.
推薦閱讀
- 從零構建知識圖譜:技術、方法與案例
- 大學計算機基礎實驗教程
- Oracle Database 12c Security Cookbook
- Java設計模式及實踐
- 深度學習:算法入門與Keras編程實踐
- AutoCAD VBA參數化繪圖程序開發與實戰編碼
- Instant Ext.NET Application Development
- 智能搜索和推薦系統:原理、算法與應用
- 移動互聯網軟件開發實驗指導
- MATLAB GUI純代碼編寫從入門到實戰
- HTML+CSS+JavaScript編程入門指南(全2冊)
- Beginning C++ Game Programming
- 深入解析Java編譯器:源碼剖析與實例詳解
- Moodle 3 Administration(Third Edition)
- Building Business Websites with Squarespace 7(Second Edition)