Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 1.75 KB

INSTALL.md

File metadata and controls

51 lines (35 loc) · 1.75 KB

#Installation

This document attempts to address the setup of tern-closure with specific editors.

Prerequisites

Basically any installation requires a recent version of Node and npm. For Linux users, nvm is a good way to get both (apt repos often have hideously old Node versions).

Emacs

Follow the Tern instructions for Emacs installation. Wherever you run npm install (step 2), also run npm install tern-closure.

Vim

Follow the tern_for_vim installation instructions. When you run npm install in bundle/tern-for-vim, also run npm install tern-closure.

Sublime Text

If you are using Marijn Haverbeke's own tern_for_sublime, then you can run npm install tern-closure in the tern_for_sublime directory, where you ran npm install.

If you know how to install tern-closure with the alternative sublime-tern, let me know!

Gedit

If you are using tern_for_gedit, you need to install tern-closure globally (in addition to installing Tern globally as per the tern_for_gedit README): npm install -g tern-closure

Eclipse

To use tern-closure in Eclipse, follow these instructions for setting up tern-closure with tern.java.