Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Explicit Prerequisites

Adds version requirements and tips for Mac OS X.

Closes #14.
  • Loading branch information...
commit 7557014837915975f5b83abb8086a02730aa103c 1 parent b76bc0e
Jamie Hoover ⚔ authored

Showing 1 changed file with 9 additions and 2 deletions. Show diff stats Hide diff stats

  1. +9 2 README.md
11 README.md
Source Rendered
@@ -4,7 +4,12 @@ The best JavaScript syntax checker: [JSHint](http://www.jshint.com/) for the bes
4 4
5 5 ##Install
6 6
7   -Prerequisites: `npm install jshint -g` and [Sublime Package Control](http://wbond.net/sublime_packages/package_control/installation)
  7 +Prerequisites:
  8 +
  9 +- node 0.6.x
  10 +- npm 1.1.x `curl http://npmjs.org/install.sh | sh`
  11 +- jshint 0.5.x `npm install -g jshint`
  12 +- [Sublime Package Control](http://wbond.net/sublime_packages/package_control/installation)
8 13
9 14 1. `command`-`shift`-`P` *or `control`-`shift`-`P` in Linux/Windows*
10 15 2. type `install p`, select `Package Control: Install Package`
@@ -24,4 +29,6 @@ Install [SublimeOnSaveBuild](https://github.com/alexnj/SublimeOnSaveBuild)
24 29
25 30 **Note:** The `control`-`J` shortcut changes the Build System on the current file to JSHint, then Builds to run JSHint on the file and output any errors for jumping to within the file. You could alternatively set the Build System set to Automatic and `command`-`B`/`control`-`B`/`F7`, but only on files that end with .js.
26 31
27   -**Windows:** The build script assumes that the path to node is in your `CLASSPATH` in environment variables, `C:\Program Files (x86)\nodejs`
  32 +**Mac OS X:** Install node with homebrew `brew update` `brew install node`. Make sure you have either the latest Command Line Tools or Xcode before installing homebrew.
  33 +
  34 +**Windows:** Node should be in your `CLASSPATH` in environment variables, `C:\Program Files (x86)\nodejs`

0 comments on commit 7557014

Please sign in to comment.
Something went wrong with that request. Please try again.