Now Windows can bluescreen itself and Linux at the same time!
@vabalokis4 жыл бұрын
prbbly had 1 bluescreen in last 10 years
@Fireship4 жыл бұрын
FWIW Canonical helped develop WSL. It's a good thing for the Linux world, much easier for windows people to take advantage of it.
@binbashbuddy4 жыл бұрын
@@vabalokis -- They've updated the blue screen, it's now the stop working while I update and reboot screen
@ionitaa4 жыл бұрын
Last time I saw a bluescreen on Windows it was 2005... Last time Linux froze on me it was last week...
@MuhammadbinYusrat4 жыл бұрын
@@ionitaa probably because you didn't use Windows since 2005 and kept using Linux.
@RahulJoshi4 жыл бұрын
Legend has it that Steve Ballmer is still out there shouting "DEVELOPERS DEVELOPERS DEVELOPERS.... "
@andrewp67384 жыл бұрын
Holy shit, that’s THE Ballmer? Of Ballmer’s Peak fame?
@kid14126214 жыл бұрын
Wanna watch the original video
@RahulJoshi4 жыл бұрын
@@andrewp6738 Haha, yes! Apparently he was having a "Peak" moment here too.
@crowncontrol36374 жыл бұрын
Apparently jes passionate about developers
@rossgeography3 жыл бұрын
lolz
@Tiritto_4 жыл бұрын
So basically, Windows is being recommended because it has Linux xD
@amineabdz4 жыл бұрын
that's one way to look at it
@thelastmagethelastmage20844 жыл бұрын
It's a trap. Microsoft is in the "Embrace" phase. DO NOT use WSL.
@rand0mtv6604 жыл бұрын
@@thelastmagethelastmage2084 Someone is stuck in the 90s...
@michaelk.jensen16114 жыл бұрын
@@rand0mtv660 Well the comeback could be that some didnt learn their lessons. So keep on being skeptical to ensure that they actually will keep up their "good" ways. I think MS at least deserves to be viewed with a skeptical and wary mind even if they seemed to have turned a corner somewhat somewhere.
@rand0mtv6604 жыл бұрын
@@michaelk.jensen1611 but this could basically be said for any large company.. It's not like they work in our best interest lol
@xijnin9 ай бұрын
Finally I can be a developer while having a social life
@grainfrizz4 жыл бұрын
WSL2 is the best thing that happened in Windows since the end of clippy.
@911madza4 жыл бұрын
DEVELOPERS, DEVELOPERS, DEVELOPERS... _*continues video narration in normal voice like nothing happened_
@theBoomerDoomer4 жыл бұрын
This is a time I wish KZbin had a 'love' button... for work, I'm stuck in a company-issued Windows 10 laptop, and had to run a VM with Ubuntu 19.10, which was kind of okay but still just felt 'wrong'. Having just gotten the Windows 10 - 1909 update pushed to my laptop last week, I can finally install WSL! Very timely video release! Thank you!
@nikolaipopovych32323 жыл бұрын
I am tired of tech videos with long intro! Finally video that is informative from the 1st sec. You speak fast and informative which is amazing in compare to other long tutorials with long introduction. This is the first time in my life when I slowed down speed to 0.75 in tutorial for few mins to be able not just listen but understand and remember. Brilliant!
@arividar4 жыл бұрын
Correction at 6:36: Adding nvm to in .zshrc plugins will not install nvm on your system. You still must install nvm through curl or some other way. The OMZ plugin only adds zsh command completion and other niceties. It can be inferred from this that oh-my-zsh is a package manager like apt-get, which it is not.
@JonaiDoesEverything4 жыл бұрын
Thank you for this comment, was going crazy trying to figure it out.
@okie90254 жыл бұрын
What the fuck. Is this the lingo linux users have to deal with? Holy shit
@Ricardoromero44444 жыл бұрын
I just wasted a ton of time trying to figure out why nvm wasn't working. Thanks.
@guterflex79674 жыл бұрын
Really annoying that he didn't fix this mistake in the video. Also had to go through some repos and readme's on GitHub for solid 30 minutes to figure this out. I was about to comment this myself.
@minituff4 жыл бұрын
git clone github.com/lukechilds/zsh-nvm ~/.oh-my-zsh/custom/plugins/zsh-nvm Then load as a plugin in your .zshrc: plugins+=(zsh-nvm)
@Fireship4 жыл бұрын
Maybe in a perfect world "Just use Linux", but if you need Windows then WSL is amazing! Oh, and Macs are pretty cool too! BEST is just an opinion.
@codenoob93254 жыл бұрын
But I saw a course on LinkedIn Learning. The instructor recommends to use Powershell in virtual machine.
@codenoob93254 жыл бұрын
Thanks. Your videos are precious. Glad I'm subscribed
@phemartin4 жыл бұрын
Or just buy a mac instead! ;)
@EgiN2814 жыл бұрын
Really cool video, but how about macOS? Adobe works fine on it and its essentialy a linux.
@Fireship4 жыл бұрын
@@EgiN281 Macs are a great option as well, but have other tradeoffs with price, performance, customization, etc. I use a Macbook when I travel.
@nishatsayyed83264 жыл бұрын
What about a "Docker in 100 seconds (and beyond)" ?
@Fireship4 жыл бұрын
That will happen soon
@nishatsayyed83264 жыл бұрын
@@Fireship thanks man. Really hoping to see it. Always wanted to use Docker for development, testing, production. But couldn't get started. Looking forward to your awesome video.
@SahilP26484 жыл бұрын
@@nishatsayyed8326 docker documentation is messy and probably the worst I have seen on any project ever. But in order to use it to its 90% potential, you literally need just 4-5 commands: docker images (displays all docker images with container id and image name) docker commit [CONTAINER_ID] [IMAGE_NAME] (use this in a separate terminal window, not the one you are using for docker images and use it when you are running the current docker container you want to save to an image (docker container is an instance of an image)) docker rm -f image [IMAGE_NAME] (to remove a previously committed image that you don't want anymore) and finally docker run -it -v [VOLUME_DIRECTORY] -p [PORTA:PORTB] [IMAGE_NAME] (this command is used to run a docker container with the specified image name. -v is for mounting a local volume to docker container and -p is for mapping port if you want to use that port outside docker container) Hope it is straightforward enough for you
@nishatsayyed83264 жыл бұрын
@@SahilP2648 thanks mate. Much better and very clear than the docker documentation. Never had a very serious need for Docker but it looks very elegant so I will try. Thanks again for awesome clarification.
@SahilP26484 жыл бұрын
@@nishatsayyed8326 no problem. Let me know if you have any doubts about it, but it is pretty straightforward once you know these commands.
@lokeshnegi50512 жыл бұрын
I dont know why sometimes youtube recommendation sometimes works so bad, I've been trying for days to find a way to have linux on my windows machine and tried a hell lot of things like vm and dual boot when it is already there. Thanks man this is like a piece of cake as compared to vms and dual boot.
@wepranaga4 жыл бұрын
installing zsh just for the theme 10x developer 🤣
@shivangupadhyay54934 жыл бұрын
ps1 👍🏻
@ГригорийХовер4 жыл бұрын
ZoomersHell
@rishisonifilms4 жыл бұрын
Its way better than bash bro.
@IAmOxidised75254 жыл бұрын
Or a window tiling manager
@IAmOxidised75254 жыл бұрын
Bruh , themes are awesome and predictions are great in fish as compared to zsh .....
@dazecm2 ай бұрын
That integration of VS Code via the Remote extensions is all kinds of epic. Thanks for this video. It made setting up a WSL dev environment friction free for this web dev newcomer.
@patricknelson4 жыл бұрын
Minor correction: WSL2 is faster in most ways over WSL1 except for the mounting of shared file systems (a common bottleneck in I/O heavy situation). The fix for that is to just store the files primarily in the Linux VM, but that’s also not always desirable, since you’ll need to use UNC style network paths (fretwork file shares) to directly access the files. Also, I prefer to store files directly on the host machine (not the VM, which I consider to be ephemeral and disposable).
@alexisramis4 жыл бұрын
I've been using wsl since early 2017, a guide like this would be really useful for me 3 years ago, great job, btw I switch to vs code because of your videos, still getting used to the keybindings, but it's been almost seamless thanks to the sublime extensions. thanks for the videos, I've been learning a lot of useful things here.
@soeed4 жыл бұрын
For those of us that can't "Just use linux" because of other work requirements, WSL looks awesome. It might be time to see if WSL2 can replace my Docker workflows. Thanks for the video Jeff.
@ablanchi4 жыл бұрын
I sympathize. I will open a windows VM in solidarity.
@malipetek4 жыл бұрын
Using just linux is simpler.
@okie90254 жыл бұрын
@@malipetek Did you not even read his comment? Linux can't do most things
@malipetek4 жыл бұрын
@@okie9025 I used both and just using linux is still simpler than configuring WSL. I mean this is not a solution for those who cant "just use linux".
@okie90254 жыл бұрын
@@malipetek How is it not a solution? What does linux have that windows doesn't, except the commands, which can be installed manually anyway?
@alejandroszg2 жыл бұрын
Easily set-up my Windows Terminal with WSL thanks to this video. Amazing explanation!
@nemeziz_prime2 жыл бұрын
This is amazing! I got WSL2 up and running, but didn't know what to do with it. This video really clears up a lot of doubts I had 🙏🏻
@vycos-zen10 ай бұрын
This is still a pretty relevant, and useful today, I mean the packages, and versions are outdated but the method is perfectly viable. Would be nice to see an up to date version of this. Keep creating content man! You are godsent :)
For anyone as noob as I am: Node will probably not work at at 6:03 in your zsh terminal. Remove any existing node/npm installation and install nvm which will keep your versions uptodate. For details check : docs.microsoft.com/en-us/windows/nodejs/setup-on-wsl2 Your videos are a fusion of art / comedy / code. Thanks for being here.
@a.elbourki4 жыл бұрын
I love WSL, being using it for more than a year as my main development environment and I'm super excited about WSL 2.
@ml_serenity4 жыл бұрын
Just wondering, what are you using it exactly for? Except for terminal?
@simioni4 жыл бұрын
@@ml_serenity For everything. If you're doing backend dev, chances are you're deploying on Linux. So, coding in windows traditionally required running a Linux VM and some tool like vagrant to push your code to be run in the VM every time you save your file on windows. WSL just makes things much faster.
@ml_serenity4 жыл бұрын
@@simioni not sure I understand why would you need to push it every time to Linux VM? Why not just run it in Windows using native tools there?
@simioni4 жыл бұрын
@@ml_serenity Because the environment is vastly different. Having something working on windows does not guarantee that it'll work on Linux. And bugs in stuff like this can be very hard to trace and fix. Ideally you'd work under the exact same distro as your server, with the exact same packages installed and configured in the exact same way (a clone of your server). After the introduction of Linux containers this became quite trivial to do, and today running code in a clone of your server is very common and saves a lot of headaches.
@ml_serenity4 жыл бұрын
@@simioni Well, obviously you have to have some kind of staging pre-production environment that is very close to production to verify that everything is working correctly, but I don't really see why you would want to keep deploying to production-like environment in your dev after every single build... I can understand when someone is using windows-specific production environment and some legacy technologies such as ASP.NET, or ActiveX, MSMQ, domains, etc... but Linux server side tools are usually all available natively in Windows...
@kalebercanbrack88574 жыл бұрын
It's been about a year since I tried WSL after primarily using Linux, and it felt extremely slow compared to just running Linux.
@Vhc7064 жыл бұрын
Kaleb Ercanbrack WSL2 is supposed to be faster
@wolvAUS4 жыл бұрын
WSL2 is only 8 percent slower than native Linux. Superior option imo
@KB24DW84 жыл бұрын
@@wolvAUS yeah but it has serious memory leaks doe. Like it ends up sucking half of your ram
@not_proton4 жыл бұрын
Actually, I would like to play games as well as make websites.... So.... WSL for me
@stanleybowman-hood61944 жыл бұрын
It would be as it’s not native Linux but wsl2 has a full Linux Kernal but I’ve never tested it myself but it’s good so windows users can take advantage of Linux tools
@Francisco-Gutierrez4 жыл бұрын
The "Linux inside" logo never felt so real.
@stoogel2 жыл бұрын
This is my setup at work, a large company with super locked down Windows environments. It works well because I at least have root on the Linux side. Windows makes a decent desktop environment.
@88dejw4 жыл бұрын
Great video and tutorial. I still keep W8.1 in dual-boot for my son to play Minecraft, but I'm doing webdev and backend dev (C#) fully on Linux mint for years. I have the same setup on Linux as shown in the video. Kudos for showing node installation via nvm it's much safer and convenient.
@TechnicolorMammoth3 жыл бұрын
??? I know this is a year old comment, but Minecraft does and has run natively in Linux since pretty much the beginning? Free that poor HD of its windows shackles.
@normalperson-x7o2 жыл бұрын
Minecraft runs on JVM, Linux supports Java.
@Nixon_Z8 ай бұрын
I use WSL every day for everything. This is my favorite video on yt.
@seanc.53104 жыл бұрын
"One thing you'll need to install is sl to make a train roll through the command line" 😂 😂 I love it!
@raihan60504 жыл бұрын
you really make my day easier. instead of switching back to back from windows to ubuntu, i can just go to windows terminal and then boom... it does all what i need from ubuntu. tysm :)
@breal14602 жыл бұрын
Your videos are extremely helpful. I subscribed immediately. You are a remarkable teacher, especially once getting used to your presentation style. Thank you for the content, I look forward to more!
@himanshupandey20414 жыл бұрын
I started using linux about a year ago and it's amazing I don't think I will ever go to windows again
@opuu3 жыл бұрын
I did't know about this until today, finally I will switch from Ubuntu to Windows on my main machine :D
@dazecm2 ай бұрын
I used to leverage NVM for my node version management needs but since switching to the PNPM package manager, I now use its built-in node version management features. If you use PNPM but haven't discovered its node versioning ability yet, run pnpm env -help.
@yosha24674 жыл бұрын
Web developer: *has 8GB+ of RAM* Also web developer: "Zsh is bloat"
@monarch02434 жыл бұрын
Zsh is faster than Bash. Ohmyzsh is bloat
@JosueRodriguez083 жыл бұрын
Having two shells for no reason is bloat
@adlymagdy14 жыл бұрын
WSL in my opinion is the best thing microsoft has done in their history. I have a mid range laptop, i hate dual booting and I can't do something like running KVM with windows on linux because of my specs. Now windows gives me the option to setup a linux development environment without a big hassle, it feels surreal. Thanks a lot for this video it definitely helped me setting everything up for the first time.
@RobertBrunhage4 жыл бұрын
Was just reading in to this, super interesting! Using two drives for PopOS and Windows and I think I still prefer that. But this is definitely something I will test out! Thanks for the awesome content and keep the great work up!
@binbashbuddy4 жыл бұрын
I prefer to just install windows in virtual box. Incredibly rare that I open it but when I do I have a half hour or so free time while it installs updates, reboots, installs more updates, etc....
@disableblue8832 жыл бұрын
Already using all of these, feeling like a 10x developer 😎
@amaanullah132 жыл бұрын
where are you working,Sir?
@cahhaccahhac39344 жыл бұрын
By that logic macos is the best os for development, it's a unix like os like Linux and you can install many popular applications not available on Linux like Photoshop
@MuhammadbinYusrat4 жыл бұрын
Correct. But the problem is Apple's pricing and dated hardware.
@hanzofuma4 жыл бұрын
That's why we have Wine and Lotirus
@moonythm4 жыл бұрын
@@hanzofuma except when I run stuff in wine the perf is worse
@hanzofuma4 жыл бұрын
@@moonythm yeah maybe they are trying to improve it.
@MuhammadbinYusrat4 жыл бұрын
@@moonythm Quite a few games work just fine.
@AnantaAkash.Podder11 ай бұрын
By Far the Best Explanation for WSL in the world
@welltypedwitch4 жыл бұрын
9:41 Firefox can also block trackers, just like brave. The only difference I know is, that brave has an adblocker enabled by default. Overall Firefox is (at least for me) way more useful than any chromium based browser, since it just has more features! Not only for css, but it also displays json in a really useful way, unlike chromium, which just uses plain text.
@Littletsu4 жыл бұрын
haha orange browser go brrrr
@IxMeTutorials4 жыл бұрын
I personally like the chrome dev tools alot more for js/ts debugging + for json formatting there are lightweight extentions that enable that.
@xucongzhan91514 жыл бұрын
Mainly using FF myself and the dev tools is one big reason to keep me around. Design-wise and ergonomics-wise, I like it better than the Chrome dev tool. Layout aside, the color scheme of Chrome Dev Tool is a big meh for me... I tried a bunch of JSON-related extensions on Chrome and they are lacking in either aesthetics or functionality (no collapse all? seriously?).
@ml_serenity4 жыл бұрын
Agree absolutely. Firefox is by far the best browser.
@samuel43664 жыл бұрын
Amazing video, love the Brave mention at the end
@georgegach7234 жыл бұрын
Embrace, Extend, Extinguish...
@Fireship4 жыл бұрын
Good point. I don't think that's their strategy here, but maybe I'm naive.
@georgegach7234 жыл бұрын
@@Fireship I also hope MS did change but so far they're en route. They embraced Linux, extended the kernel and now slowly taking over the market segment who'd dual boot the ubuntu on their machines...
@FaFairuz84 жыл бұрын
if it is good for extending open source community.. does it still matters?
@kuhluhOG4 жыл бұрын
@@georgegach723 well, they also have their own Linux distro (for Azure) also, at this point I don't think they actually still make a profit with Windows on Home users, but because most people want to use the same programs at work and at home, they can't really stop developing it because then they would lose their business customers in the long run
@diablo.the.cheater4 жыл бұрын
@@georgegach723 I mean does it even matter as long as linux is getting used? is not like distros are completly FOSS except a couple ones
@abaqueiro4 жыл бұрын
Bash is not a programming language, is a SHELL command interpreter, it allows also to make .sh files to run a lot of commands in batch.
@qumber3 жыл бұрын
Love your content ❤️ I instead use Windows in a VM on my Linux host machine, if I need to run Windows specific programs. But WSL is an awesome tool. I have helped my Windows loving colleagues numerous times with WSL so that they can work on projects running in Docker containers without leaving their favourite OS.
@kez994 жыл бұрын
wsl got me into learning web dev. I feel so lucky with all these techs being available now.
@LiranPeleg4 жыл бұрын
That Steve Ballmer video will give u nightmares (...just saying)
@Fireship4 жыл бұрын
I know, I watched it way to many times editing this video
@LiranPeleg4 жыл бұрын
Fireship lol
@aaaaaaaaaaaaaaaaa983 жыл бұрын
SAME WITH ME!!! now that I no longer dual boot makes everything easier!!!
@busyrand4 жыл бұрын
Great video!... I've been using WSL2 for roughly a year now. The only thing I dislike is working with the LAMP stack, and using Git GUI tools have been troublesome because the project folders work best inside of the Linux distro itself.
@souryavarenya4 жыл бұрын
I am not a web dev but I have been using WSL2 on Windows 10 Insider Slow Ring (2004) for C++ development and I can attest to the quality of WSL2 integration with windows. I have generally had a bad time with native Ubuntu gnome on my laptop right from scaling issues to poor battery life and hot machine. WSL2 has changed my workflow drastically. VSCode WSL remote works really well with explorer support which is also very good. I occasionally use VcXsrv for X11 windows. Had some minor issues with finding kernel headers for C++ dev but web-devs have no excuse to not try it.
@averagedev77683 жыл бұрын
I installed wsl back in 2017 when it came out. It was so cool. At the time i used it for accessing servers ive been managing (still using ti for that). Having the alias command for bashrc in windows 10 was so darn good. I dont remember when but as soon as beta of windows terminal came out ive used that. Very nice tools. Best of both worlds. Stable programs on windows + bash terminal
@LuLeBe Жыл бұрын
Yeah it's amazing, I use my PC for work, coding, video editing and games, and Windows+WSL is the most seamless way to do that. The only thing that's really cumbersome is using a GPU in WSL.
@centurion81584 жыл бұрын
I'm a programming rookie, but the more i think about it the more i think you don't need windows at all for development, unless you're a front end dev, it makes sense for using adobe xd and all those design related tools, otherwise it doesn't
@bobkelso56814 жыл бұрын
It looks like WSL is solving all of these problems that you would not had if you just directly use linux.
@bennihtm4 жыл бұрын
true!
@theclockworkcadaver70254 жыл бұрын
It was only a matter of time before the Linux supremacists started swarming. As was mentioned in the video, there are some things you can do on Windows which you just can't do on Linux. This is clearly the best of both worlds, combining Linux's excellent command line and Windows's wealth of mainstream applications and ease of use.
@bobkelso56814 жыл бұрын
@@theclockworkcadaver7025 Yes you are right. My comments was written for amusement and is not 100% correct. I know many people rely on windows-only tools anyway which makes it impossible to use linux. Then it might also make sense to use WSL (or use other tooling). For most cases I think the best approach is to use us a virtual machine for either linux or windows, depending on which you use more. And if you check how WSL is implemented, it is likely also just a linux VM which is deeply mounted to your file system.
@miscible214 жыл бұрын
Those Ballmer clips are killing me! 😆
@SeriesTube014 жыл бұрын
I've never seen that footage before. I laugh so hard!! 😂
@leonardoraele4 жыл бұрын
This is crazy the amount of different things we have to learn nowadays.
@down__lo73593 жыл бұрын
WSL is legit. I switched from macOS for it. Never looked back.
@Rob-cq1nf4 жыл бұрын
Best Web Dev Setup? Just Linux!
@himanshutripathi74414 жыл бұрын
^^ and if in confusion which version to choose, just use ubuntu.
@matiasm.31244 жыл бұрын
Yeah of course why you need windows for Dev? ... BTW Gentoo ftw...
@SergiuTalnaci4 жыл бұрын
@@matiasm.3124 Well some of us work with clients who still have plenty of code on the old .NET framework :). This is a godsend
@jakubwegrzyn37984 жыл бұрын
Linux + Webstorm = best web dev setup
@anuragstutorials94844 жыл бұрын
BTW I use arch
@silver72973 жыл бұрын
How have I not seen this video yet?!
@MrGVSV4 жыл бұрын
Great video, but I am still not sure on the "why". What is the reason for wanting both Linux and Windows for webdev?
@okie90254 жыл бұрын
So you can brag about how you use linux, while in reality you do 90% of the work on windows.
@TimeoutMegagameplays4 жыл бұрын
Running docker, and running your server in the same enviroment you will deploy to will save you lots of stress
@TimeoutMegagameplays4 жыл бұрын
If you don't think you need it, you don't need it really, but when you do WSL looks promissing
@MrGVSV4 жыл бұрын
Doodles oh that’s true. Aren’t most servers running Linux? I only briefly touched backend stuff and I vaguely remember a class talking about LAMP
@bigbraintakes11734 жыл бұрын
Because Windows is scared of losing that sweet sweet dev telemetry. Same reason they bought NPM and created VScode. Windows, NPM and VScode are all malware.
@junaid.hassan4 жыл бұрын
This is the best tech video that I've watched in a while.
@Pogibakayo4 жыл бұрын
Great toolset. I’d also recommend Tmux tho
@jairomejia6163 жыл бұрын
extremely useful. There is another open source project that calls tmate, which use tmux as a base to create shared ssh sessions. It is very useful when you need to work in the same server as your colleges and need to debug something.
@jazun334 жыл бұрын
Honestly I rocked this for a long time. For some laptops linux just doesn't provide a good consumer OS experience. Things like graphics card switching or even simple stuff like going to sleep when you close the lid don't work right. But since these laptops ship with windows all that user-focused stuff is optimized, while the developer experience is not, like it is with linux. What made me finally switch to mac was wanting to branch out to iOS development. Otherwise I see no real reason from a software standpoint to switch from Windows + WSL at this point, especially after they finish up WSL2, which I've tested. It's blazing fast and an absolute joy to use.
@ashwinarora75614 жыл бұрын
Absolutely Lifechanging for devs like me using VM. Thanks.
@SahilP26484 жыл бұрын
Well I need the GUI to be working and not just the linux terminal. I am currently using Virtualbox and I have heard that using something like VNC from the WSL env is not suitable since WSL wasn't designed for host to guest and back socket mapping or something like that. Do you know any other alternative?
@ml_serenity4 жыл бұрын
@@SahilP2648 Why do you need WSL or Linux for VNC? There are native windows VNC clients...
@SahilP26484 жыл бұрын
@@ml_serenity are you stupid? So I can VNC into Ubuntu obviously to use the GUI instead of doing it through VirtualBox which is laggy.
@ml_serenity4 жыл бұрын
@@SahilP2648 you are clearly an idiot. You can VNC from Windows into anything including Ubuntu. You don't need VM or WSL for that.
@t3st8624 жыл бұрын
Wow this is exactly what I needed and had no idea it existed!
@fabianmarcus4 жыл бұрын
I would like to see a tutorial how to create such great videos.
@richmindsetrohit77273 жыл бұрын
if someone is not able to run the train,do this 👇 > sudo apt update > sudo apt upgrade now install sl > sudo apt install sl run train > sl
@ggalindezb4 жыл бұрын
I'm very glad that WSL exists, that opens a whole new array of hardware available for beginners and intermediate devs that have only ever coded on a Macbook. Apple having pretty much full control of the sole tool used by developers was bad news. This will probably make it much better. That being said, I still hate Windows, I'm never using it and I'd rather just run a native Linux. But hey, I'm grateful for the contribution. Very.
@magicmulder Жыл бұрын
My setups: Private: Windows 11 host (mostly for gaming), VMWare with Mint guest for my private projects. Work: Ubuntu host, VirtualBox with Windows 11 (for the work tools that don’t have a good Linux alternative).
@dream_emulator4 жыл бұрын
Does kind of feel like a hacky attempt to become a Unix based OS that at the same time offers a wide variety of professional desktop applications.
@KastanDay4 жыл бұрын
They've been committed to WSL for a while. I think this actually works
@StewartStewart4 жыл бұрын
Agreed, but still less frustrating than MacOS
@gnack4204 жыл бұрын
It's not "hacky" it's a standard feature that you can enable easily through the standard UI.
I'd suggest getting powershell v7 and windows terminal first. Then install chocolatey and use that for installing; git, chrome / firefox and nodeJS. There are other helpful bits of software you can get through chocolatey for dev / productivity e.g. krita, inkscape, libreoffice, keepassXC, etc. Furthermore you can export your installed software list to an xml file. Handy if you need to clean install windows, though you'll need to back up the configs of said programs independently.
@SergiuTalnaci4 жыл бұрын
This video was so good, I liked, commented and subscribed!
@rezahosseini78514 жыл бұрын
You can now install Docker on non-pro Windows as well and let me tell you, just install wsl2(although you need to be an Insider user) it's just much better and works perfectly with Docker. One thing that I'm wondering is if Linux and Windows do share their ports or Linux just forwards them to windows side. I Mena if port 8080 is used in Windows, is it then used in WSL too?
@metaorior3 жыл бұрын
They are 2 machines with 2 Ip address each
@brambeer55913 жыл бұрын
Windows 11 will allow support for native Lunux GUI apps out of the box!
@mrcrackerist4 жыл бұрын
windows in kvm with pci passthrough is still my way to fix it
@johannbauer28634 жыл бұрын
same
@pinglocalhost4 жыл бұрын
These videos are so 🔥 to the point growing my brain 🧠 in a few minutes.
@adilzakarya4 жыл бұрын
I'm in love with you videos
@dinodiner19394 ай бұрын
A video idea - a refresh of this video
@krawieck4 жыл бұрын
3:30 real 10x developer would use neovim 😎
@nico13374 жыл бұрын
+ Vundle + Some Plugins and it's perfect
@dennisbarzanoff90254 жыл бұрын
@@nico1337 I tried Vim with packages and syntax servers and stuff and is super slow. I can't even use Vim bindings in VSCode, that's how slow it is. The only place it works for me is IntelliJ, but it involves other bugs
@nico13374 жыл бұрын
@@dennisbarzanoff9025 What do you mean with 'slow'? Are you not used to work with vim? I can tell you if you continue to use it it will get better and better and you'll get more productive. In your journey you may have to look up some stuff if you don't know how this works in vim
@blazefirer4 жыл бұрын
@@dennisbarzanoff9025 idk NeoVim with plugins works super fast for me and VScode is fine its just slow when doing vscode features not vim features
@HelloWorld-fg2nm4 жыл бұрын
Literally no reason to use nvim anymore since vim 8 added async support.
@SoundPeaks Жыл бұрын
Dude, your content is really dope.
@razmans4 жыл бұрын
If you're a 10x developer...use vim, hahahahhaha
@TheJobCompany4 жыл бұрын
You're really not a 10x developer unless you're using Arch GNU/Linux (or as I've recently taken to calling it, GNU + Linux) and you're writing everything in C while running a NON-BLOATED tiling window manager (no DEs/ floating windows allowed). And if you don't use vim keybindings on everything, then don't even talk to me, you normie!:wq
@ml_serenity4 жыл бұрын
@@TheJobCompany pff... who needs tiling manager when you have Emacs...
@wacesferpit4 жыл бұрын
@@ml_serenity who needs an operating system when you have Emacs
@24wherath364 жыл бұрын
@Богдан Кондратов yeah, and then just hand deliver it to all the people who want to visit your webiste. much less bloated.
@starmanL0L4 жыл бұрын
@@TheJobCompany memes aside once you use a tiling wm for a while there's no going back
@feryardiant4 жыл бұрын
If you're using Win 10 Home and still want to use (or learn) Docker, You can use Chocolatey to install docker, docker-compose and docker-machine, and of course You have to use CLI to manage it.
@jNayden4 жыл бұрын
the WSL file system and I/O is so slow that is basically useless for development and building software on it.
@JeSus-hl6zj4 жыл бұрын
Isn't that you computer?
@TheJustinist4 жыл бұрын
WSL2 is way faster than WSL.
@KastanDay4 жыл бұрын
Idk not that bad, and fixed in wsl2. I/O is finally ~full speed, as if in native Linux.
@gerrywu4 жыл бұрын
Exactly what I was thinking, even with wsl2 you'll need to mount your source code on the right place to get the full benefit
@sudoblue97772 жыл бұрын
WSL is the best thing that came out of Microsoft in a long time. Windows is finally complete.
@gnul4 жыл бұрын
WSL2 actually is virtualized, but in a good way - at least good for Windows and Microsoft. Just stick with GNU/Linux. I personally use Manjaro Linux KDE on my Workstation, Gnome on my Convertible Notebook.
@rajatsingh57144 жыл бұрын
No, it's not virtualization, it is an actual Linux kernel.
@gnul4 жыл бұрын
@@rajatsingh5714 Yes, it is an actual Linux Kernel, virtualized with MS' Hypervisor.
@rallisf14 жыл бұрын
I have recently switched to Laragon which is completely portable and sync it with a cloud drive so no matter what my work is always available to me.
@blink111014 жыл бұрын
the only reasons to use windows is if your company gives you a windows machine to develop on or if you want use steam lol
@okie90254 жыл бұрын
Linux sucks for everything except developing
@eric.m57904 жыл бұрын
if your company gives you a windows machine to develop on, You delete windows and install Linux And then run Windows in a virtual enviroment :D
@okie90254 жыл бұрын
@@eric.m5790 you mean the other way around?
@eric.m57904 жыл бұрын
@@okie9025 No i personally don't like windows from the time i starded using Linux 1 year ago. i would rather run it in VM than have it on my pc. its just a preference
@okie90254 жыл бұрын
@@birsp literally no games work on linux except for legacy. Try running doom eternal or emulating animal crossing on linux (pro tip: you can't)
@OtisDeLarge4 жыл бұрын
Fantastic video. I always have to google the same 3 or 4 github gists to remember all this. I'll use this next time I re-install windows or setup another dev env in windows :D
@ronniesunshine11634 жыл бұрын
I develop on dual booted ubuntu because It gives me the freedom to install a ton of packages and random stuff that I will forget to delete. I don't want those files clogging up my windows install. Since ubuntu is dual booted, I could just delete those partitions and I have a mostly clean version of windows. Can I do the same thing with wsl? or is wsl just giving another way to interface with the windows OS and file system?
@ml_serenity4 жыл бұрын
Why not just use VM for the purpose?
@ronniesunshine11634 жыл бұрын
@@ml_serenity poor performance. I was using a vm for ubuntu for 4 months or so but it kept freezing even with the settings maxed.
@iamsantanubanerjee4 жыл бұрын
I think you can do that just by deleting your distro.... Reinstalling will give you a fresh distro again, I guess.
@abhinav.sharma4 жыл бұрын
YOU ARE AWESOME JEFF!🔥🚢🔥🚢🔥🚢 Looking forward on a Docker series!
If someone's getting mvn not found then add this to you .zsh file: export NVM_DIR=~/.nvm [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" Hope that's helpfull
@jazun334 жыл бұрын
One big hang-up with web dev on Win + WSL is testing. To make 'ng test' work, for example, you have to point your CHROME environment variables to your windows installation of chrome. And I couldn't even get e2e tests working. If you'd like to make a follow up video about that on how to set that up, I'm sure it would be much appreciated. There's not a lot of information out there on how to set that stuff up.
@sonmangaking4 жыл бұрын
Must immediate click when I see these!!! :)
@DavidAlsh4 жыл бұрын
WSL is great and I can't wait for it to be better than working on MacOS. At the time of writing, it still isn't. For context, I have transitioned my entire workflow to Windows from MacOS to see how viable WSL makes Windows-based development. My hope is that WSL introduces competition to MacOS and helps drive the Linux community forward. It's been mostly great, but it definitely doesn't feel as seamless as developing natively on the machine. Only little issues like: - In WSL2 you can't access servers running on the host machine (useful for things like browser testing tools like puppeteer and cypress). - Files are deleted permanently when you delete them in your IDE - When you copy files in your IDE, write permission prevent you from editing those files and require you to restart your IDE It's coming along though and I will continue to use it. I can't wait to see it evolve and hopefully replace the NT kernel.. I mean wait what?
@LuLeBe Жыл бұрын
I haven't had the file copy issue, not sure what you mean exactly. But for those testing tools, can't you just run them on WSL? It has GUI support etc. But yeah accessing servers the other way around works but this way it's difficult without some trickery.
@ialimijororakotoniaina32744 жыл бұрын
Nice one but I will just stay with my Ubuntu
@AkashGiri4 жыл бұрын
I can not thank you enough for this video. It helped A LOT.