Sublime Forum

Where does Sublime Text install Node.js?

#1

I installed the LSP-json package using Package Control and it prompted me to install Node.js. Since I don’t use Node.js I just let Sublime Text install it. But where does Sublime Text install Node.js and do I need to manually update Node or will Sublime Text automatically update it?

0 Likes

#2

It will be managed by lsp_utils. You don’t have to do anything. It’s installed under Data/Package Storage/lsp_utils.

0 Likes

#3

Where is this Data directory on macOS? I looked in /Applications/Sublime Text.app/Contents/ and I don’t see a data directory.

0 Likes

#4

https://www.sublimetext.com/docs/revert.html

  • Windows: %LOCALAPPDATA%\Sublime Text
  • Mac: ~/Library/Caches/Sublime Text
  • Linux: ~/.cache/sublime-text
0 Likes

#5

For me on a linux it’s installed it into:

/home/user/.cache/sublime-text/Package Storage/lsp_utils/node-runtime/20.18.0/node/bin

0 Likes

#6

Oops. I paste the wrong content. Fixed.

1 Like

#7

Yes, it as the following location on macOS:

~/Library/Caches/Sublime Text/Package Storage/lsp_utils/node-runtime/20.18.0/node
1 Like