Erase yourself from the internet: incogni.com/networkchuck Use code NETWORKCHUCK you get 60% off Dive into the power of WSL 2 with NetworkChuck! Learn how to seamlessly run Linux on Windows, including Ubuntu and Kali Linux, with full GUI support and GPU access. This comprehensive guide covers everything from basic installation to advanced features like Docker integration, custom configurations, and backing up your WSL instances. Discover how to use Linux commands in Windows and vice versa, making your development environment more versatile than ever. Whether you're a beginner or an experienced user, this video will teach you new tricks to supercharge your WSL experience. 🔥🔥Join the NetworkChuck Academy!: ntck.co/NCAcademy **Sponsored by Incogni from NordVPN 00:00 - Intro: Linux on Windows with WSL 00:46 - WSL Requirements and Setup 02:02 - Two-Minute WSL Install 04:24 - Installing Additional Linux Distros 05:54 - Running Windows Commands in Linux 07:23 - Accessing Linux Files in Windows 08:23 - GUI Apps in WSL 10:26 - Full Kali Linux Desktop with WinKEX 11:29 - Using VS Code with WSL 12:22 - Docker in WSL 14:40 - GPU Access in WSL 15:15 - WSL Configuration Files 18:40 - Networking in WSL 21:43 - Backing Up and Restoring WSL Instances
@felixkuluchumila52624 ай бұрын
💪💪💪
@eagerermaple21494 ай бұрын
Bro this is actually funny I was trying to get wsl for one of your ai server setups like a video you posted a month ago couldn’t get wsl to work and decided to youtube the error for wsl lol and just then your post popped up your the best (had to copy this)
@kazi14 ай бұрын
🔥
4 ай бұрын
I use arch btw
@derrekvanee45674 ай бұрын
The only answer, BTW. LFS the only other acceptable *with Gentoo doing bins now.*
@MartinWoad4 ай бұрын
The best thing about WSL is that it teaches you to eventually get rid of the Windows part.
@imam_saem4 ай бұрын
Sometime windows is shit. You totally not secured.
@shubham97174 ай бұрын
yeah the same with me, i started wsl a year ago now fully on linux(mint)
@nandakumar42504 ай бұрын
Especially windows search is shit. Im probably thinking of install Ubuntu using wsl just for using the grep command to search for files😂😂
@shubham97174 ай бұрын
I don't really know what kind of impact will it have on users , i.e. to retain users who have interest in linux or push them away as they realise how "free" linux can be
@derrekvanee45674 ай бұрын
@@nandakumar4250 some search tool I can't think of right now but searx windows util install utility but I'm sure catfish is on windoze. FD/plocate/mlocate on wsl/arch-nix will find anything. Grep/awk is more for cutting text streams to filter pipes content from files. Edit: lucky search or l something?.... Launchy?! Theres a ton of good windoze search utile and even ones that can integrate. Github my dir-sir. Chris titus tech is your man bois.
@MrSnivvel4 ай бұрын
If you install Microsoft Terminal, it will give you the option of opening WSL instances in tabs own tabs, bypassing the wsl command. It can also be configured to open a WSL install as the default "terminal" instead of PowerShell.
@anmolgour6644 ай бұрын
wao
@HarySaBoji25 күн бұрын
didnt give me the option at all
@MrSnivvel25 күн бұрын
@@HarySaBoji Microsoft Terminal is a separate program that has to be downloaded separately, in case you were thinking I was referring to Command Prompt or PowerShell.
@ahnafhossain0415 күн бұрын
i downloaded one its called windows terminal
@monnishs97754 ай бұрын
Dudeeee no way i was just looking for it and BAMM you upload it... It's like the universe want me to install it.
@user-ks1oh2wx6o4 ай бұрын
Or just install Linux. If you are going to go through the trouble of installing WSL, then maybe its time to give linux a shot
@Netwrk724 ай бұрын
@@user-ks1oh2wx6o exactly or just use a persistant USB much better for my needs i also have debian installed as i do many different things coding scripting encryption etc
@FriedMonkey3624 ай бұрын
@@user-ks1oh2wx6o "wsl --install" is so much trouble
@kamaravichow4 ай бұрын
Same
@coltonbaker69684 ай бұрын
@@user-ks1oh2wx6o it's a good idea, but I don't have multiple machines to test Linux, all my work is already on Windows, and it's nice to be able to test the waters before making a leap of faith into the unfamiliar. Works for some, but not everyone.
@TM_LBenson4 ай бұрын
You say in the video "Do you want to see something scary?" That was when KZbin decided to send me an ad. 😂
@derrekvanee45674 ай бұрын
Sponserblock/SmartTube noob, *do you speak it?* skips self promotion intros and outros too.
@PINGWINIX4 ай бұрын
@@derrekvanee4567 mind you that it detects ad blockers and blocks the video output.
@shallex57444 ай бұрын
please get ad block man
@demonkingswarn4 ай бұрын
laughs in uBlock Origin
@Valaran14 ай бұрын
You mean that was when Chuck decided you should see an ad. Ad placement is 100% controllable by the creator.
@debajyatidey94684 ай бұрын
Just to tell you I have used ubuntu in wsl and void linux in a vm for 2 years. Now I have void linux in WSL by importing it from a tar file generated from a docker container. Amazing! I love it and made it my default distribution.
@SirenGlitch4 ай бұрын
Definitely want to see a video on your terminal layout, looks amazing
@prakhars9624 ай бұрын
just oh-my-posh
@mysterio25523 ай бұрын
@@prakhars962 yeah but... I'm not getting those layouts when i open a wsl instance, could you please help about what to configure?
@prakhars9623 ай бұрын
@@mysterio2552 install oh my posh for windows
@robbierotten582929 күн бұрын
@@mysterio2552 In ubuntu I personally use zsh with oh-my-zsh as a theme manager, then the theme he's using is probably powerlevel-10k
@WilliamRudin24 күн бұрын
@NetworkChuck Yeah, would definitely like to see how you setup your terminal layout too.
@Ryoma2634 ай бұрын
Thanks man for all the great tutorials in my coding and hacking journey
@supercheetah7784 ай бұрын
For anyone wondering, WSL runs perfectly fine on a Windows that's running in a VM like KVM for those times when you just run Linux, but still need to use Windows for work, but you still want to use some Linux-only tools.
@yavuzs721 күн бұрын
Man, not sure what to think, I'm building a new PC and I need to get Windows, probably the best option, right?
@Franco-M9k20 күн бұрын
Both Linux and Windows are great, there's a web called BNH Software, for getting Windows, btw, there are good videos about building a pc, I know a few...
@MarkUSAfreedom20 күн бұрын
I prefer Windows 100%, when building my gaming PC I got mine from a place called BNH Software, Team Windows for sure...
@EmmaW022220 күн бұрын
Mark is right, you should go definitely for Windows, zero doubts, go for it..
@EngineerWilky814 ай бұрын
I've been using WSL for years even back with WSL1 and ran into some interesting issues with the Linux kernel not being a fully native as I was running a PostgreSQL database server within the linux distro and it was running into issues because some OS level functions didn't exist in the Kernel. That's been resolved with WSL2 which the kernel is now a native kernel. I do all my work through WSL as a software engineer. Also, I did run into one issue with WSL with my laptop. It seems that with Alienware laptops, some of the Alienware software doesn't like to play nice when WSL is enabled. I've had instances of BSOD at random times, so I've had to run the laptop without the alienware software as WSL is more important for me than the alienware software. Great video. I didn't realize the interoperability of the Linux/Windows commands from the different command lines.
@-Blue-_4 ай бұрын
Lenovo/Dell laptops are best for this type of works yeah Alienware are from Dell but they are meant for 3d and Gaming Work
@jeremyfontenot4964 ай бұрын
I was just watching your BASH playlist! Thanks for this one too!
@54tutu8Ай бұрын
10:55 list which machine is running and how to stop 11:29 change default distro 13:22 GUI apps 14:15 Full Kali Linux Desktop with WinKEX 15:15 if you have VS Code installed 16:32 WSL2 with virtualbox side by side 19:52 change networking mode to "mirrored"
@ImSuchAZero23 күн бұрын
Thanks the thing was crazy wrong
@mefewud4 ай бұрын
i have been looking for it for weeks now thx
@RazoBeckett.4 ай бұрын
Switch to actual Linux
@Damnerz4 ай бұрын
Me too.
@mefewud4 ай бұрын
@@RazoBeckett. i wish but all the programs related with my job are in windows so not an option 😢
@empty93604 ай бұрын
@@RazoBeckett.using WSL together with Linux systems is the way to go. WSL is great if you want to test something without having to run in on a dedicated test system.
@DoFliesCallUsWalks4 ай бұрын
nc had a couple vids on this before, they were all pretty nice.
@markldevine3 ай бұрын
I've been using WSL since it was GA'd, hit walls and the ceiling with things I wanted to flex/change, then deferred those functions. Until today. You read my mind, going through all of the stuff I was interested in having (| wsl, mirrored, export/import, etc.). Really great content.
@jayadityadev4 ай бұрын
Man I love his primary machine terminal gui. I'd really appreciate it if you give a short tutorial on how you set that up
@ritonlevrai14 ай бұрын
Same for me
@ruk_uk4 ай бұрын
I really didn't think I'd learn anything from this video as i have used wsl alot in the past but showing tools like spider-foot and little things I wouldn't ever think of is why your an amazing content creator and mentor
@MADSOLADEN4 ай бұрын
Yes, please make a video on how to style your windows terminal!
@prakhars9624 ай бұрын
oh-my-posh
@ritonlevrai14 ай бұрын
Yeah, please
@IJZidanne05Ай бұрын
7:53 , the smoothest sponsor intro ever ngl🔥🔥🔥
@Skr1ptk1dd34 ай бұрын
PLEASE YOUR TERMINAL CONFIG :((((( LOVE IT SOOOO MUCHHH
@blockchainsecurity4 ай бұрын
Pretty sure he's using Powerlevel10K for his terminal configuration
@therealDJG4 ай бұрын
I downloaded a VM & Kali Linux a few days ago. Learning a lot from it. Never messed with Linux before. Helps a lot being hands on while studying for Security Plus.
@savagepro90604 ай бұрын
0:39 all your passwords are tattooed under your mustache!
@Houseofarrows3 ай бұрын
I don't get it
@savagepro90603 ай бұрын
@@Houseofarrows it’s joke, he uses facial hair to conceal his passwords. He must NOT shave!
@rickyrozario15774 ай бұрын
I just love wsl. It's been a year I have been doing all my development in wsl2 ubuntu because I love the UI of Windows 11 and love the developer experience that Ubuntu/Linux provides.
@MuffinLorde4 ай бұрын
Chuck, I feel like you're watching me, I legit just installed wsl just an hour ago 😅
@the-real-random-person4 ай бұрын
You can also launch WSL by selecting the distro in start menu OR by typing `wsl` in your terminal. That's to launch the default distro set. Ubuntu is the default one.
@TravisTy2cMe4 ай бұрын
Mean personal comment " You have a beautiful beard " . LoL luv ya man - fantastic tutorials.
@maverick70574 ай бұрын
Please make a video on the GUI customization! I get hooked on your videos and when I finally snap back to reality, there is a coffee in my hand and I never remember how I ended up with it! Thanks Chuck!
@StyxIris4 ай бұрын
I mainly use Linux (Mint) in dual boot and bought a second SSD specially for my Linux. I can't switch to Linux completely because of Gaming, Linux still doesn't support all of my games yet :( Thanks a lot for this Video!
@DBlitz-nb3clАй бұрын
I'm gonna end up downloading some of your videos so I can watch them until I commit to memory what you're doing. this looks so much fun.
@fyfysdfsdyfdsfysdfsd4 ай бұрын
I was actually hoping for a showcase of Winapps or something similar for Linux, but of course, half the title is clickbait :/
@Rayburn964 ай бұрын
Yep me too
@B544R4 ай бұрын
Same
@sand96874 ай бұрын
same
@ciscocomputertech4 ай бұрын
Sammmeeee dude. Same. Don't set expectations of someone you don't know so you'll never be disappointed
@gregoryvanny-is2of4 ай бұрын
Yeah network chuck does not use the Linux desktop in fact in all of his videos i cant find a single one where he has a actual Linux setup on his host system and in one of his shorts he paused when when he said "if you wanna use Linux as a desktop...... pop os is cool". whats odd is that he only ever uses Ubuntu and kali instead of using Debian and he recommends Kali Linux to hundreds of thousands of people trying to use Linux as a desktop people that don't know about Linux the kali developers themselves have said not to use it as a desktop. for a distro centered around penetration it has no protection capabilities its much less secure then debian and in one of his videos he showcased how you can get access to a Linux system of course running kali and in most regular distros the chance of getting control over said system is much smaller. actually using windows on linux via kvm gpu pass-through is much smoother and way faster and less buggier then wsl will ever be and your kernel level spyware games will be sandboxed in fact you can even get macos in there so you dont run any spyware on your host system.
@nessimaskye95772 ай бұрын
Ahhh! Setting my default networking mode was the only thing I didn't already know about using WSL. I've been using it for years off and on, and the networking configuration has always been a bane in my side. Thank you for sharing this! Hopefully this solves a lot of the issues I ran into previously, and excited to try it out.
@RedHat-bu7ls4 ай бұрын
when i see that you upload a new video, i immediately start to make my coffee
@ThePomey884 ай бұрын
Network Chuck, your videos have inspired me to start building my own budget-friendly home network, starting with a DIY NAS. My dream is to have a complete media server and virtual machines for learning, but my biggest priority is keeping my kid safe online. Would love to see a video on how to set up a secure home network with parental controls, maybe even incorporating a DIY NAS. It would be a lifesaver for so many parents! Cheers from the UK!
@oalfodr4 ай бұрын
It is wild how windows users are this exited to use linux programs
@bobanmilisavljevic78574 ай бұрын
😂
@Syokool4 ай бұрын
It's an addition made by Microsoft. It's a tool that many professionals required. Using Linux in a more casual way was always installing a vm and run it.
@buffalo_expat_bill3 ай бұрын
Well done. I’ve been using WSL since you needed a preview in Windows 10 and still learned some things that I wouldn’t have thought to look for.
@davidkshow4 ай бұрын
I love Linux on Windows!
@AnthonyMarioni4 ай бұрын
I had long wondered about networking on WSL so that it wouldn't be on NAT, this is awesome thank you! Keep up the great work!
@shantanux34 ай бұрын
hey chuck how did you customize your windows terminal to look like that could you do a short video on that
@Ceo.hustle3 ай бұрын
WOW. I have been trying to run Kali Linux from a live boot usb drive and a VM but kept running into challenges (mini pc performance challenges) but using it this way now I can finally start using Kali Linux and Ubuntu. THANK YOU
@ninoplay20174 ай бұрын
yooooo your videos are the best
@r0gu3d43m0n4 ай бұрын
I wish that wsl mirrored config tip was in your "host ALL your AI locally" video. Took me a little bit to find it on my own but I have been connecting to my webui from other systems on my network now, so YAY! I would like to see how you configured your terminal from this vid. Find myself using pbcopy and pbpaste pretty often now so maybe another 5-minute Friday for terminal configuration.
@universaltoons4 ай бұрын
what's the background music
@AstronautLoveTriangle2 ай бұрын
Just want to say I appreciate the beam collapse transition effect.
@symol308724 ай бұрын
WSL2 is awesome, much easier and lighter than running a full fledged VM.
@mistahrobb9634 ай бұрын
Perfect timing. Building my first HomeLab this weekend. This seems like a great start.
@rajatram67044 ай бұрын
Try filter coffee ☕ from south india. You'll be addicted for sure 😉
@graog1234 ай бұрын
the only coffee he wants to promote on his channel is his own, for obvious reasons
@Socky_Nova4 ай бұрын
Cool video! Just Drive flashed win 11 on my PC and did this immediately after. Thanks for the tutorial
@MindGameCafe4 ай бұрын
network chuck when will you fight internet carl?
@TimeTravelingFetus2 ай бұрын
Right after he fights Cyberspace Chris
@yaboiminecraff3 ай бұрын
This is blowing my mind its so powerful yet not stupidly complicated
@d.wolfin1524 ай бұрын
Don’t blame me, you asked for it…. Chuck, your beard is mid.
@Ffelitzyoutube3 ай бұрын
NetworkChuck, great work! You're the best American out there teaching them about the rubber ducky and why you should always carry a flash drive with you.
@HansStam4 ай бұрын
This, wow, is amazing. I was contemplating buying a new MacBook to run a virtualbox with Ubuntu on it, but now I’ll buy a proper windows pc and use this. I’ve been watching you for a couple of years and wow, the videos just keep getting better and better.
@varma86694 ай бұрын
You can run VirtualBox on Windows too though?
@aaronbeaty39804 ай бұрын
I really apreciate your quick-on-spot tutorials, Mr. K~. Thank you!
@vojta_024 ай бұрын
I have been waiting for this for a long time. Thank you so much. Learned a lot of new things, especially the networking mode.
@nwadikesimi69174 ай бұрын
Happy to have you back 😊 It's been a while I hope all's well ❤ Welcome back 👍
@jacobbobo46704 ай бұрын
I only recently learned about WSL and It's incredible! (It's how I have ollama running on my gaming PC since it's got the most powerful hardware I own)
@RodrigoAntes4 ай бұрын
Greetings for the channel from Argentina. You are my hero, man!
@brianclarke85034 ай бұрын
The best way to run linx on a desktop/laptop (not server) is via WSL.... Great video!
@Neo_X12 ай бұрын
One of the best videos on WSL --You rock man :)
@ajay--yadavАй бұрын
his positive aura and enthusiam in the video is what makes him special
@MRBOSSTON244 ай бұрын
Amazing video I've been looking for a video that explained WSL the way that you have so thank you sir!
@SeMoDrix4 ай бұрын
I‘ve been a wsl2 poweruser since three years or so and loved it. I even learned something new here with the config files but with recent decisions at microsoft i switched to linux for my main os
@mertpaker4 ай бұрын
Yes, please do the terminal configuration video.
@fredeisele18954 ай бұрын
Similar to exporting a running wsl, you can export a running (docker) container. The resulting tar can be imported into a new wsl subsystem. So, while there are many prebuilt wsl images you can effectively convert any container-image into a wsl subsystem! Think about it a moment and you can see how this works.
@SnakePlissken254 ай бұрын
That's literally how you get distros that are not pre-packaged onto wsl. You just need the rootfs tarball for the default container image, import it, rebuild it into an OS that's less stripped down than the container, and export it into a new tarball that you can use going forward.
@joshua98034 ай бұрын
I used WSL for a long time and I know these so well since I’m a Linux user
@JerryN884 ай бұрын
Thank you as always another cool video. Please make the tutorial on setting up how things look in command line.
@DaveITGuy2 ай бұрын
Awesome vid, Chuck! I've always wanted to learn and dig more into WSL. Can you please do a video on how to configure those terminal windows? Keep up the awesome content!
@shuccle61614 ай бұрын
That Clippy + Tux fusion scarred me... THE CLIP IS GOING THROUGH HIS HEAD!!! 😭
@astropatostar4 ай бұрын
This is strange, the day before yesterday I was searching your channel for information about WSL and unfortunately I didn't find it. Today your video appears on the front page, you read my mind!
@billvalvik4 ай бұрын
Loved the video. I learned quite a bit. Please make a video on the customized command interface. I have been looking for a well explained video on this.
@ZukiasАй бұрын
Incredibly helpful - I was looking for how to run docker on windows, and how to code on windows as if I was in linux, never expected all this to be in one video. (btw the chapters are messed up)
@SKOOBgotSNAX3 ай бұрын
You’ve convinced me! Haven’t messed with WSL since it was a new feature and blue-screened my workstation, but I’m going to give it another chance… I’ll be back to personally attack you if I blue-screen though.
@Richerd669914 ай бұрын
Actually I am using windows on my linux system its quite smooth af and i am able to seperate my private and professional system with The terminal and that's quite magic which l like 😍😍
@priyanshurai75953 ай бұрын
In VM?
@Marc-td7nn4 ай бұрын
Great vid but just in case i missed it: sudo apt install kali-tweaks then run kali-tweaks
@AB_lo4 ай бұрын
@NetworkChuck Thanks for this video! so helpfull to run everything I need without having to boot my computer from a USB or virtualBox.
@efeegbevwie94673 ай бұрын
Probably the best transition to a deleteMe/Incogni AD
@devarajkali774 ай бұрын
Amazing video like always 😍. Would love to see a video of your terminal configuration
@BrickCity-o1n4 ай бұрын
You got me, I learned something new. Microsoft Store offers Linux.
@johnhawkins61604 ай бұрын
Hey bud, thank you for all of your videos, I been playing with Linux for about a decade, last 6 years quite heavily, and since I found you about almost 2 years ago, I have gotten myself way too far ahead of my own self constantly! I always follow your videos and they work and I try something different and it works then before I know it I am doing a full re-image, or snapshot restore if im lucky, or like now, with docker and wsl up on windows for the first time yesterday, and openwebui/ollama working as beautiful as possible with just one of the same 4090s as you, and a 3090 in a custom loop all liquid metal, killer binned i9, 7400mt/s cl 32 ram (64gb) I thought I had a setup that was killer, but Terry just beat up Whitean Titan 2! lol.. I don't expect you to respond but I just wanted to say thanks for keeping my mind challenged and open and full of linux commands! I have learned more Linux from you than anyone and thats honestly saying alot! You are da man!!!
@haseebuetian4 ай бұрын
You were right with your statement that we will learn something new. I am totally grateful to you. Thank you so much for sharing knowledge. I hope you get the reward. Please make the video so that we can also make our terminals looks fancy like yours.
@hariprasath70504 ай бұрын
really need to know how to make terminal looks better like you kindly made video about that soon I'm excited to see
@KelianSM4 ай бұрын
Damn, WSL and VirtualBox can finally work together ?! Thank you.
@manishbadgotra4 ай бұрын
That NAT thing really saved you from getting a mean comment from me. Lucky you Chuck ❤
@CodingPot19 күн бұрын
I liked the way how your stuff looked, make a video on it!
@twd24 ай бұрын
WOW, I was not expected these potentials from WSL,in particularly with app interfaces, and the crazy thing with Kali win kex🤔, I have just decided install only Windows and the Office, the rest of all my dev setup it will be on WSL,that will guarantee a clean Windows forever 😅,even with my networking setup with NAS etc... but what the best thing I have ever loved the notepad and explorer, Great Video ,it will save at lest 20% of my work time thanks Chuck !!!
@linux_dev_arch4 ай бұрын
Qemu allows GPU passthrough and you can emulate a lot of CPUs. Nice video btw.
@Scorp44604 ай бұрын
Definitely like a video on layout clean setup in Ubuntu, with the drop down menu's.
@who20564 ай бұрын
Excellent! Now you can run Linux commands and do work while Windows spies on you. Oh, and now on your servers, too. Great! This is just what I was looking for.
@jcbenge084 ай бұрын
Actually, YES, I was thinking the whole video, "How do I get my terminal to look like that cool one??" I'd LOVE to know how to set that up!
@fireteamomega23434 ай бұрын
Terminal configuration file
@Afran1464 ай бұрын
Thank you! I really enjoyed your walkthrough.
@DarronBowman4 ай бұрын
This video was amazing and I thoroughly enjoyed it. Network Chuck you never cease to amaze me.
@EthicalHacker1014 ай бұрын
Yes please, make a video on how to make powershell look 😎
@luffingsails75423 ай бұрын
Yes to the aesthetics video! Loved this content!
@Banklessap4 ай бұрын
this right here save the day, i can finaly get rid of my 1990 Emachine tower which i installed Linux ubuntu on , and just simply have everything on this little box i just bought
@none20944 ай бұрын
Yes, but forwarding a port in wsl 2 to face publicly is the worst! Would love a video on this Chuck!
@skippern6664 ай бұрын
Most of this was familiar territory for me after I was "forced" to write tutorials to how to run a docker container in wsl2 in both Win10 and Win11. I havn't played with it beyond getting the docker containers to run, so the export/import was new to me. I mostly use Linux, but I see that with wsl2 I might be friendlier towards using Windows in the future
@Minarctic4 ай бұрын
I only watched this video to see if there's nothing I already don't know about cause I spent a lot of time learning WSL, but this was amazing, and I learned some new stuff. I really would like to know how to install Qt in WSL, though.
@aryyan41734 ай бұрын
Great stuff been learning alot from you mate love the content.
@lkzMini4 ай бұрын
I would love a video with: customization of Linux (like the terminal, for example)... And how to use all this stuffs in a "real world" project (Examples). Sure, i can go to chatgpt and ask about it, but it is not the same if i can check a video about it. Great content btw.
@roppie4 ай бұрын
You were way to psyched for typing windows commands in linux x)