 <p>You installed a <code>jquery</code> module as global module.</p> <h2>Loading local modules</h2> <p>If the module identifier passed to <code>require()</code> is not a native module (e.g. <code>http</code>), and does not begin with '/', '../', or './', then <code>Node.js</code> starts at the parent directory of the current module, and adds <code>/node_modules</code>, and attempts to load the module from that location.</p> <p>If it is not found there, then it moves to the parent directory, and so on, until the root of the file system is reached.</p> <h2>Loading global modules</h2> <p>To make global modules available to the Node.js (and CoffeeScript) REPL, it might be useful to also add the <code>/usr/lib/node_modules</code> folder to the <code>$NODE_PATH</code> environment variable. Since the module lookups using node_modules folders are all relative, and based on the real path of the files making the calls to <code>require()</code>, the packages themselves can be anywhere.</p>