سؤال

I've installed nodeJS ( from http://nodejs.org/ ). This has installed nodeJS & npm. Then I run npm install jslint.

The package manager create a folder in my current working directory, and place the required file in it.

Then I guess I should do a symlink in my /usr/local/bin/ folder in order to have a global jslint command.

But the whole point is that following that procedure, the jslint files are inside a specific project folder ( that was my current working folder of that moment ), and not in a generic place.

How should I proceed to have a clean installation ?

لا يوجد حل صحيح

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top