DEV Community

Discussion on: A Linux Dev Environment on Windows with WSL, Docker, tmux and VSCode

Collapse
 
sebastiandg7 profile image
Sebastián Duque G

Hey @nickjj , it's me again.

I've been playing around with WSL and I'm very impressed about the work done there. Talking about these integration between with the Windows host and the VSCode integration, I know there are some binaries as jdk's "java" binary which can be shared from the windows installation to WSL which I find very interesting because I can use java dependent windows programs and use command line tools (mvn, openapi-tools... etc) using the same jdk installation.

In the case of node & npm, do you recommend having a single shared installation or to installit in both Windows & WSL? The idea of having it avaialble in Windows is to have the option to run node dependent apps like Hyper or NativeScript Sidekick.

Collapse
 
nickjj profile image
Nick Janetakis • Edited

Hi,

I personally don't have Node installed on Windows, but it's up to you. I got rid of Hyper a while back because it was horrendously slow compared to other terminals. That adventure was documented at nickjanetakis.com/blog/conemu-vs-h....

But, I'm not here to rain on any parades. If you have some Node apps on Windows that benefit from having Node natively installed on Windows, then go for it.

Although with that said, I have VSCode installed on Windows but I didn't specifically install Node. I let VSCode manage its own installation.

Thread Thread
 
sebastiandg7 profile image
Sebastián Duque G • Edited

I have dived into this setup and found an interesting behavior (a problem actually). Just opened a stackoverflow question to see if someone has done a similar setup. I have found a solution (workaround as of now, want to have other's opinion) but I'm posting it later, need some sleep.

Thread Thread
 
nickjj profile image
Nick Janetakis

I've never done anything like that but in your symlinks you have node.exe in the Windows path but then you put npm and npx. Shouldn't those also end with .exe?