- Web Development with MongoDB and Node(Third Edition)
- Bruno Joseph D'mello Mithun Satheesh Jason Krol
- 134字
- 2021-07-08 10:32:40
Linux
Because there are so many different flavors and distributions of Linux available, installing Node isn't quite as straightforward. However, if you're running Linux to begin with, then you are more than aware of this and probably comfortable with a few extra steps.
Joyent has an excellent wiki on how to install Node on Linux using the many different package manager options available. This covers almost all the popular deb and rpm-based package managers. You can read that wiki by visiting https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager.
For Ubuntu 14.04 and preceding as an example, the steps to install Node would be as follows:
$ sudo apt-get install python-software-properties
$ sudo curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
$ sudo apt-get install nodejs
Once these steps have been completed, both Node and npm should be installed on your system.
推薦閱讀
- Java范例大全
- Spring Cloud Alibaba微服務架構設計與開發實戰
- R語言經典實例(原書第2版)
- Python程序設計(第3版)
- DevOps Automation Cookbook
- Python機器學習基礎教程
- Learning Laravel's Eloquent
- R語言與網絡輿情處理
- 51單片機C語言開發教程
- 響應式架構:消息模式Actor實現與Scala、Akka應用集成
- LabVIEW虛擬儀器入門與測控應用100例
- Instant PHP Web Scraping
- 從零開始學Android開發
- .NET 4.0面向對象編程漫談:應用篇
- Shopify Application Development