#Installation
This document attempts to address the setup of tern-closure with specific editors.
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).
Follow the Tern instructions for Emacs installation. Wherever
you run npm install
(step 2), also run npm install tern-closure
.
Follow the tern_for_vim installation instructions. When you run
npm install
in bundle/tern-for-vim
, also run npm install tern-closure
.
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!
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
To use tern-closure in Eclipse, follow these instructions for setting up tern-closure with tern.java.