Fireship · @fireship

BEST Web Dev Setup? Windows & Linux at the same time (WSL)

Uploaded April 6, 2020 · Length 10:36

BEST Web Dev Setup? Windows & Linux at the same time (WSL)

Summary

Setting up a modern web development environment on Windows with Linux using WSL, including installing Linux, configuring the terminal, and integrating with VS Code.

  • windows web development
  • linux on windows
  • wsl setup
  • vs code integration
  • web development environment
  • nodejs on windows

Transcript preview

The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.

  1. 0:00

    I never thought I'd say this but in 2020

  2. 0:02

    Windows has become the ultimate platform

  3. 0:04

    for the web developer Windows has become

  4. 0:10

    awesome for a variety of reasons but one

  5. 0:12

    of the biggest reasons is a feature

  6. 0:14

    called windows subsystem for Linux or

  7. 0:16

    WSL which allows you to run a real Linux

  8. 0:19

    environment on Windows without a virtual

  9. 0:21

    machine once you have it set up you can

  10. 0:22

    just open the command line and start

  11. 0:24

    working with the filesystem like you're

  12. 0:25

    on Linux and that's because you are in

  13. 0:27

    fact on Linux and windows at the same

  14. 0:29

    time you can be working on your server

  15. 0:31

    code and BIM on one screen while working

  16. 0:33

    with Adobe Photoshop on the other screen

  17. 0:34

    which is software that you can't install

  18. 0:36

    on Linux as a full-stack developer you

  19. 0:38

    can link Linux two Bs code allowing you

  20. 0:40

    to use any Linux based utility and spawn

  21. 0:43

    actual Linux processes from your

  22. 0:44

    application code today's video is a

  23. 0:52

    complete guide to setting up a modern

  24. 0:54

    web development environment on Windows

  25. 0:56

    with Linux you'll learn how to set up

  26. 0:57

    basically everything you need for a

  27. 0:59

    professional web development environment

  28. 1:00

    including things like browsers get

  29. 1:02

    nodejs docker and more and I'll throw in

  30. 1:05

    a bunch of little pro tips that

  31. 1:06

    hopefully make your life easier

  32. 1:07

    or at the very least make your system

  33. 1:09

    look like it's being operated by a 10x

  34. 1:11

    developer if you're new here like and

  35. 1:13

    subscribe and grab the full write-up to

  36. 1:14

    copy and paste some of the commands from

  37. 1:16

    fire ship IO the first thing you'll need

  38. 1:18

    is Windows 10 and to get things started

  39. 1:20

    we'll install windows subsystem for

  40. 1:22

    Linux which allows us to install Linux

  41. 1:24

    on Windows one thing I'd like to point

  42. 1:25

    out first is that there's WS l1 + WS l2

  43. 1:29

    they both provide the same user

  44. 1:30

    experience WS l2 is just an improvement

  45. 1:33

    of the underlying architecture primarily

  46. 1:35

    to make things faster WS l2 is not

  47. 1:38

    generally available as of today but it

  48. 1:39

    will be in the next month or two and the

  49. 1:41

    upgrade process should be relatively

  50. 1:43

    seamless to get started we first need to

  51. 1:45

    opt into WS l go to the Start menu then

  52. 1:47

    open a new powershell session as an

  53. 1:49

    administrator paste in the following

  54. 1:51

    command which you can find from the full

  55. 1:52

    article and then it will prompt you to

  56. 1:54

    restart your system after your system

  57. 1:56

    reboots head over to the Microsoft Store

  58. 1:58

    if you search for Linux you'll see the