Last Updated: February 25, 2016
· vvo

Sublime Text 2 $PATH nvm and Linux

When working with Sublime Text 2, you may want to use some packages that will try to use node.js related binaries.

Like "node" or any globally installed node module.

For this to work you have to understand how your $PATH is computed on linux. See


All you have to do is create a new ~/.xsessionrc file which will contain:


And then "node" will be available to graphical applications not started from the terminal.