Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
vms:webdev:nodejs [2017/06/05 13:22] admin [Packages Installation] |
vms:webdev:nodejs [2017/06/05 13:29] (current) admin [Packages Installation] |
||
---|---|---|---|
Line 35: | Line 35: | ||
</code> | </code> | ||
- | Then, to install Node.js (v0.12 at the time of this writing) | + | Then, to install Node.js (LTS is v4 at the time of this writing) |
<code> | <code> | ||
- | > curl -sL https://deb.nodesource.com/setup | sudo bash - | + | > curl -sL https://deb.nodesource.com/setup_4.x | sudo bash - |
> sudo apt-get install -y nodejs | > sudo apt-get install -y nodejs | ||
</code> | </code> | ||
Line 46: | Line 46: | ||
<code> | <code> | ||
> node -v | > node -v | ||
- | v0.12.7 | + | v4.8.3 |
> npm -v | > npm -v | ||
- | 2.11.3 | + | 2.15.11 |
</code> | </code> |