My Windows Dev Setup in 2022 (Windows Subsystem for Linux)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
so something I wanted to go over for a while is what is my actual Dev setup so I am currently on a Windows machine and I do the I do the vast majority of my work on this computer and the way I do it is using WSL so I like Windows a lot because I have to use the sort of more heavyweight programs on it I need to use the Creative Cloud I need to use that sort of thing and that doesn't really work on a Linux environment and I don't have a Mac desktop because you know it's rare but occasionally I do want to use steam or something like that so I want a Windows desktop but using Windows itself for development kind of sucks it's really terrible I hate Powershell I really don't like the windows way of doing things in there package management sucks handling all of your stuff really sucks it's just not fun but they sort of solve this a few a few years back with WSL so that's what I actually use if you're not familiar with WSL WSL is the windows subsystem for Linux it's effectively a little Linux machine that you can just install into your Windows machine and then spin up whenever you want and access it via a terminal so what I have down here is I have the Windows terminal if I open this up it's going to boot me into my Ubuntu instance so I have a little Ubuntu machine running within my computer and this is where I do all my development so I LS in here you can see I have just the standard stuff I have a downloads folder a documents folder and so on and so forth and I do everything within here so let's go ahead into my documents folder let's go to projects and let's go to videos so if we look in here you can see some of the stuff I've been working on some of the stuff I've been making for videos and that kind of thing and like I said I do everything in here and I have all my tools installed into WSL so I have to go in here I have npm in here I have node in here I've got all this stuff set up and working and if I want to actually edit these and work with them all I have to do is do code and let's just do the uh fiber among them example we open this up this will open up my vs code instance I obviously use vs code for my editor and then I have WSL Emoji down here so that means that this is actually running within a WSL instance instead of on a normal Windows instance so that's why my terminal down here why I'm able to use unix commands because I'm technically in an Ubuntu environment right now I have Homebrew on here I have all the sort of nice cities that you get by using Linux while also getting all the benefits of Windows itself which I think is the sort of Best of Both Worlds thing I think this is probably my favorite way to develop right now because you kind of just get everything in one so then getting into my sort of editor setup I um I obviously use vs code it's just the predominant every basically everyone uses it it has great support for go great support for typescript and those are really the two languages I write at this point so it's perfect for me so I use the GitHub dark default when I was testing out copilot they use this theme and I really liked it so I just adopted it and downloaded it for myself I think it works really well it looks really good to me um so that's the theme I use and then the big sort of change I have within here that's sort of different from what most people would do is I use Bim emulation so a lot of people like neobim and that kind of thing which I respect I get personally I like this sort of setup of vs code but I kind of get Best of Both Worlds with the bib emulation so I emulate vim and then I set up some custom keybinds like I might hit space and then K I can jump between different files that I have open so I did some stuff like that and it works really well for me so I have Vim in here I have WSL in here the WSL extension and then I have the Astro support I have code spell checker because I can't spell at all it's a problem um co-pilot I actually really like copilot I have found that it is sort of just really really good autocomplete and a lot of the sort of boilerplate nonsense that I sort of forget um got looking at go right now there's a lot of boilerplate nonsense in here sometimes when I forget oh is it cursor.d code or what do I curse or not like it just it fills in some of the nonsense for me and I really like that about it I don't use this for large scale stuff but if I'm just like okay I need to make a database call from Prisma or something and I just type out okay fetch the most recent user based on their ID it'll just do it for me so I really like copilot I think it works really well I've kind of integrated into my workflow like it a lot the go extension go um this is an incredible extension should the go in vs code integration is beautiful I love how it works the two are basically built for each other it's fantastic stuff some python stuff marked down a prettier is a must Prisma is a must and then um yeah those are the main ones oh and Tailwind intellisense so I use this uh so that whenever I'm typing out my classes it'll tell me what give me the options in there so very nice stuff nothing too crazy in here the big things are just the Vib emulation and then for my HTTP client I like thunderclient a lot of people use Postman personally I like having it built into the editor this has everything I need it works really well it looks really good I don't need some heavyweight thing I just need to be able to send HTTP requests to some endpoint and this gets the job done and that's kind of it that's the main sort of bulk of my local Dev environment there are a few other tools I use like I use mongodb Compass so um I do a lot of mongodb development so I use Compass to actually mess with the data itself it's basically just a local version of the atlas console if you're familiar with that this thing works really really well I really like it um Postman I use it occasionally not all that much but I use it when I need to so I use zsh for my shell I use oh my zsh to actually manage it and update it and then I use power level 10K for my theme whole thing is very easy to set up I use Homebrew for most of my package management stuff and I think that's about it um something that I'm going to try and incorporate in here is Docker it's something that I've been putting off learning but I need to learn so Docker will get added in here but WSL integrates that very nicely and I guess um I guess one last thing is going to be to show you is one of the weirdest things about WSL is you're actually creating a separate computer within your computer it's this whole separate VM instance but it Port forwards everything really nicely so if I do go run main.go this will be fully accessible from my browser so it's going to yell at me that I can't get this slash but it's receiving that 404 down here so I get the 404 down here and they pour forward together whole thing is just a seamless experience if you are on Windows and you are kind of sick of dealing with a lot of Windows as nonsense give WSLS shots there are great tutorials for it um I'm gonna have to reset this computer after November and fix a bunch of stuff so whenever I do that I'm definitely gonna go and I'll record me setting how I set everything up because at least personally I like this setup a lot that's why I use it so hopeless helps you out and that's about it
Info
Channel: Ben Davis - Tech
Views: 36,397
Rating: undefined out of 5
Keywords: VSCode, Development, Windows 11, WSL, Windows Subsystem for Linux, VIM, Vim, Editors
Id: h2cvWsXX1ds
Channel Id: undefined
Length: 6min 41sec (401 seconds)
Published: Thu Nov 24 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.