Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Installing fails under Ubuntu, when not using -g flag. #42

hobbysoldat opened this Issue · 2 comments

2 participants


I am a node js noob and had problems with installing tty.js, until my colleague and node pro pointed out that i should use the -g flag for installation, if I need a global command. When installed without the npm -g flag, the tty.js program won't be available on console, and calling the file using the node_modules/tty.js etc path does not work too.

So just to help noobs like me not waste time (and maybe give up in the end), could you please add the -g flag to the installation instructions? Awesome software by the way!


We can flip preferGlobal to true (it was originally set to false). Most of the time I avoid global installs of node modules. So it's just my philosophical bias showing through here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.