node package manager
We need your input. Help make JavaScript better: Take the 2017 JavaScript Ecosystem survey »


Learn You The Node.js For Much Win!

Build Status Gitter js-standard-style

An intro to Node.js via a set of self-guided workshops.

What is Node.js


Learn You The Node.js For Much Win!

  1. Install Node.js

  2. Run npm install learnyounode -g

  3. In case it fails, easiest way is to prefix with sudo:

    sudo npm install learnyounode -g or to:

  4. fix your npm permissions.

  5. Run learnyounode

  6. (Ubuntu users) In case step 3 fails, run sudo apt-get install nodejs-legacy

  7. profit!

learnyounode will run through a series of Node.js workshops. Starting at a basic "HELLO WORLD" and moving on to more advanced exercises about dealing with synchronous & asynchronous I/O, filesystem operations, TCP and HTTP networking, events and streams.

Once you have finished learnyounode, graduate to stream-adventure for a set of exercises that dig in to Node's streams.


learnyounode is proudly brought to you by the following hackers:

Rod VaggGitHub/rvaggTwitter/@rvagg
Andrey SidorovGitHub/sidoraresTwitter/@sidorares
Julián DuqueGitHub/julianduqueTwitter/@julian_duque
Lars-Magnus SkogGitHub/ralphtheninjaTwitter/@ralphtheninja
Tim InmanGitHub/thehackTwitter/@timinman
Dan FlettreGitHub/FletTwitter/@flettre
Leigh ZhuGitHub/lisposterTwitter/@lisposter
Lucas F. da CostaGitHub/lucasfcosta
Martin HeideggerGitHub/martinheideggerTwitter/@leichtgewicht
Toshiharu HaradaGitHub/haradatsTwitter/@haradats
Eric DouglasGitHub/ericdouglasTwitter/@ericdouglas_
Alejandro OviedoGitHub/a0viedoTwitter/@a0viedo
Leonardo NascimentoGitHub/leonascimentoTwitter/leonardo386
Christophe PorteneuveGitHub/tddTwitter/@porteneuve
Do Minh HaiGitHub/dominhhaiTwitter/@minhhai3b
Phung Van TuGitHub/minatu2dTwitter/@minatu2d
Chayoung YouGitHub/yousTwitter/@_Yous
Espen DalløkkenGitHub/leftieFrieleTwitter/leftieFriele


learnyounode is Copyright (c) 2013-2015 learnyounode contributors (listed above) and licenced under the MIT licence. All rights not explicitly granted in the MIT license are reserved. See the included file for more details.

learnyounode builds on the excellent work by @substack and @maxogden who created stream-adventure which serves as the original foundation for learnyounode.