by moondev · 9y ago · 0 comments
Also I would enable the WSL to get bash. Install conemu and you are pretty much good to go.
You will be surprised how well bash works. The fact you can use apt-get to access the ubuntu repos means it's even better than homebrew. You can even run an x-server and use gui apps.
If I get Windows Bash do I still need things like visual studio to compile node-gyp stuff?
Then you can easily work on node projects by going into your project folder with windows bash. Then run "docker run -it -d --name nodejs -p 3000:3000 -v $PWD:/workdir -w /workdir node:latest bash"
This will launch a nodejs container a drop you into a tty inside the container. Then you can edit your files from windows and do npm install.. npm run... etc fro inside the container. localhost:3000 will have your app