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

  Рет қаралды 664,712

Fireship

Fireship

4 жыл бұрын

Setup the ultimate Web Development environment with Windows and Linux 🐧 using WSL. Make the command line look cool, then add node, git, docker, and more. fireship.io/lessons/windows-1...
#webdev #windows #linux
Install the quiz app 🤓
iOS itunes.apple.com/us/app/fires...
Android play.google.com/store/apps/de...
Upgrade to Fireship PRO at fireship.io/pro
Use code lORhwXd2 for 25% off your first payment.
My VS Code Theme
- Atom One Dark
- vscode-icons
- Fira Code Font

Пікірлер: 1 200
@embeddedbastler6406
@embeddedbastler6406 4 жыл бұрын
Now Windows can bluescreen itself and Linux at the same time!
@vabalokis
@vabalokis 4 жыл бұрын
prbbly had 1 bluescreen in last 10 years
@Fireship
@Fireship 4 жыл бұрын
FWIW Canonical helped develop WSL. It's a good thing for the Linux world, much easier for windows people to take advantage of it.
@HadToChangeMyName_YoutubeSucks
@HadToChangeMyName_YoutubeSucks 4 жыл бұрын
@@vabalokis -- They've updated the blue screen, it's now the stop working while I update and reboot screen
@ionitaa
@ionitaa 4 жыл бұрын
Last time I saw a bluescreen on Windows it was 2005... Last time Linux froze on me it was last week...
@MuhammadbinYusrat
@MuhammadbinYusrat 4 жыл бұрын
@@ionitaa probably because you didn't use Windows since 2005 and kept using Linux.
@RahulJoshi
@RahulJoshi 4 жыл бұрын
Legend has it that Steve Ballmer is still out there shouting "DEVELOPERS DEVELOPERS DEVELOPERS.... "
@andrewp6738
@andrewp6738 4 жыл бұрын
Holy shit, that’s THE Ballmer? Of Ballmer’s Peak fame?
@kid1412621
@kid1412621 3 жыл бұрын
Wanna watch the original video
@RahulJoshi
@RahulJoshi 3 жыл бұрын
@@andrewp6738 Haha, yes! Apparently he was having a "Peak" moment here too.
@crowncontrol3637
@crowncontrol3637 3 жыл бұрын
Apparently jes passionate about developers
@rossgeography
@rossgeography 3 жыл бұрын
lolz
@nishatsayyed8326
@nishatsayyed8326 4 жыл бұрын
What about a "Docker in 100 seconds (and beyond)" ?
@Fireship
@Fireship 4 жыл бұрын
That will happen soon
@nishatsayyed8326
@nishatsayyed8326 4 жыл бұрын
@@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.
@SahilP2648
@SahilP2648 4 жыл бұрын
@@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
@nishatsayyed8326
@nishatsayyed8326 4 жыл бұрын
@@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.
@SahilP2648
@SahilP2648 4 жыл бұрын
@@nishatsayyed8326 no problem. Let me know if you have any doubts about it, but it is pretty straightforward once you know these commands.
@Tiritto_
@Tiritto_ 4 жыл бұрын
So basically, Windows is being recommended because it has Linux xD
@amineabdz
@amineabdz 4 жыл бұрын
that's one way to look at it
@thelastmagethelastmage2084
@thelastmagethelastmage2084 4 жыл бұрын
It's a trap. Microsoft is in the "Embrace" phase. DO NOT use WSL.
@rand0mtv660
@rand0mtv660 4 жыл бұрын
@@thelastmagethelastmage2084 Someone is stuck in the 90s...
@michaelk.jensen1611
@michaelk.jensen1611 4 жыл бұрын
@@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.
@rand0mtv660
@rand0mtv660 4 жыл бұрын
@@michaelk.jensen1611 but this could basically be said for any large company.. It's not like they work in our best interest lol
@grainfrizz
@grainfrizz 4 жыл бұрын
WSL2 is the best thing that happened in Windows since the end of clippy.
@theBoomerDoomer
@theBoomerDoomer 4 жыл бұрын
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!
@alexisramis
@alexisramis 4 жыл бұрын
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.
@911madza
@911madza 4 жыл бұрын
DEVELOPERS, DEVELOPERS, DEVELOPERS... _*continues video narration in normal voice like nothing happened_
@nemeziz_prime
@nemeziz_prime 2 жыл бұрын
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 🙏🏻
@wepranaga
@wepranaga 4 жыл бұрын
installing zsh just for the theme 10x developer 🤣
@shivangupadhyay5493
@shivangupadhyay5493 4 жыл бұрын
ps1 👍🏻
@user-rt1et3zw1d
@user-rt1et3zw1d 4 жыл бұрын
ZoomersHell
@rishisoni7107
@rishisoni7107 4 жыл бұрын
Its way better than bash bro.
@IAmOxidised7525
@IAmOxidised7525 3 жыл бұрын
Or a window tiling manager
@IAmOxidised7525
@IAmOxidised7525 3 жыл бұрын
Bruh , themes are awesome and predictions are great in fish as compared to zsh .....
@patricknelson
@patricknelson 3 жыл бұрын
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).
@arividar
@arividar 4 жыл бұрын
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.
@JonaiLive
@JonaiLive 4 жыл бұрын
Thank you for this comment, was going crazy trying to figure it out.
@okie9025
@okie9025 4 жыл бұрын
What the fuck. Is this the lingo linux users have to deal with? Holy shit
@Ricardoromero4444
@Ricardoromero4444 4 жыл бұрын
I just wasted a ton of time trying to figure out why nvm wasn't working. Thanks.
@guterflex7967
@guterflex7967 4 жыл бұрын
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.
@minituff
@minituff 4 жыл бұрын
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)
@breal1460
@breal1460 Жыл бұрын
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!
@Fireship
@Fireship 4 жыл бұрын
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.
@codenoob9325
@codenoob9325 4 жыл бұрын
But I saw a course on LinkedIn Learning. The instructor recommends to use Powershell in virtual machine.
@codenoob9325
@codenoob9325 4 жыл бұрын
Thanks. Your videos are precious. Glad I'm subscribed
@phemartin
@phemartin 4 жыл бұрын
Or just buy a mac instead! ;)
@EgiN281
@EgiN281 4 жыл бұрын
Really cool video, but how about macOS? Adobe works fine on it and its essentialy a linux.
@Fireship
@Fireship 4 жыл бұрын
@@EgiN281 Macs are a great option as well, but have other tradeoffs with price, performance, customization, etc. I use a Macbook when I travel.
@alejandroszg
@alejandroszg Жыл бұрын
Easily set-up my Windows Terminal with WSL thanks to this video. Amazing explanation!
@samuel4366
@samuel4366 4 жыл бұрын
Amazing video, love the Brave mention at the end
@averagedev7768
@averagedev7768 2 жыл бұрын
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
@LuLeBe 5 ай бұрын
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.
@RobertBrunhage
@RobertBrunhage 4 жыл бұрын
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!
@HadToChangeMyName_YoutubeSucks
@HadToChangeMyName_YoutubeSucks 4 жыл бұрын
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....
@t3st862
@t3st862 4 жыл бұрын
Wow this is exactly what I needed and had no idea it existed!
@nikolaipopovych3232
@nikolaipopovych3232 2 жыл бұрын
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!
@88dejw
@88dejw 4 жыл бұрын
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.
@TechnicolorMammoth
@TechnicolorMammoth 2 жыл бұрын
??? 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.
@anokiyoussou
@anokiyoussou 2 жыл бұрын
Minecraft runs on JVM, Linux supports Java.
@busyrand
@busyrand 3 жыл бұрын
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.
@lokeshnegi5051
@lokeshnegi5051 Жыл бұрын
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.
@pinglocalhost
@pinglocalhost 3 жыл бұрын
These videos are so 🔥 to the point growing my brain 🧠 in a few minutes.
@LiranPeleg
@LiranPeleg 4 жыл бұрын
That Steve Ballmer video will give u nightmares (...just saying)
@Fireship
@Fireship 4 жыл бұрын
I know, I watched it way to many times editing this video
@LiranPeleg
@LiranPeleg 4 жыл бұрын
Fireship lol
@Francisco-Gutierrez
@Francisco-Gutierrez 4 жыл бұрын
The "Linux inside" logo never felt so real.
@kez99
@kez99 3 жыл бұрын
wsl got me into learning web dev. I feel so lucky with all these techs being available now.
@raihan6050
@raihan6050 3 жыл бұрын
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 :)
@kalebercanbrack8857
@kalebercanbrack8857 4 жыл бұрын
It's been about a year since I tried WSL after primarily using Linux, and it felt extremely slow compared to just running Linux.
@Vhc706
@Vhc706 4 жыл бұрын
Kaleb Ercanbrack WSL2 is supposed to be faster
@wolvAUS
@wolvAUS 3 жыл бұрын
WSL2 is only 8 percent slower than native Linux. Superior option imo
@KB24DW8
@KB24DW8 3 жыл бұрын
@@wolvAUS yeah but it has serious memory leaks doe. Like it ends up sucking half of your ram
@not_proton
@not_proton 3 жыл бұрын
Actually, I would like to play games as well as make websites.... So.... WSL for me
@stanleybowman-hood6194
@stanleybowman-hood6194 3 жыл бұрын
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
@qumber
@qumber 2 жыл бұрын
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.
@vycos-zen
@vycos-zen 3 ай бұрын
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 :)
@AkashGiri
@AkashGiri 3 жыл бұрын
I can not thank you enough for this video. It helped A LOT.
@opuu
@opuu 2 жыл бұрын
I did't know about this until today, finally I will switch from Ubuntu to Windows on my main machine :D
@ricko13
@ricko13 Жыл бұрын
Developers 👏 developers 👏 developers 👏 developers 👏 developers 👏 developers 👏 developers 👏
@Dev-Siri
@Dev-Siri Жыл бұрын
Developers 👏 developers 👏 developers 👏 developers 👏 developers 👏 developers 👏 developers 👏
@amaanullah13
@amaanullah13 Жыл бұрын
Developers 👏 developers 👏 developers 👏 developers 👏 developers 👏 developers 👏 developers 👏
@adlymagdy1
@adlymagdy1 4 жыл бұрын
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.
@Gregdave
@Gregdave 4 жыл бұрын
This was an amazing tutorial, what a game changer!
@a.elbourki
@a.elbourki 4 жыл бұрын
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_serenity
@ml_serenity 4 жыл бұрын
Just wondering, what are you using it exactly for? Except for terminal?
@simioni
@simioni 4 жыл бұрын
@@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_serenity
@ml_serenity 4 жыл бұрын
@@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?
@simioni
@simioni 4 жыл бұрын
@@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_serenity
@ml_serenity 4 жыл бұрын
@@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...
@seanc.5310
@seanc.5310 4 жыл бұрын
"One thing you'll need to install is sl to make a train roll through the command line" 😂 😂 I love it!
@himbary
@himbary 4 жыл бұрын
Thanks for the great tutorial, love it
@OtisDeLarge
@OtisDeLarge 4 жыл бұрын
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
@soeed
@soeed 4 жыл бұрын
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.
@ablanchi
@ablanchi 4 жыл бұрын
I sympathize. I will open a windows VM in solidarity.
@malipetek
@malipetek 4 жыл бұрын
Using just linux is simpler.
@okie9025
@okie9025 4 жыл бұрын
@@malipetek Did you not even read his comment? Linux can't do most things
@malipetek
@malipetek 4 жыл бұрын
@@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".
@okie9025
@okie9025 4 жыл бұрын
@@malipetek How is it not a solution? What does linux have that windows doesn't, except the commands, which can be installed manually anyway?
@fabianmarcus
@fabianmarcus 4 жыл бұрын
I would like to see a tutorial how to create such great videos.
@SergiuTalnaci
@SergiuTalnaci 4 жыл бұрын
This video was so good, I liked, commented and subscribed!
@stoogel
@stoogel 2 жыл бұрын
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.
@yosha2467
@yosha2467 3 жыл бұрын
Web developer: *has 8GB+ of RAM* Also web developer: "Zsh is bloat"
@monarch0243
@monarch0243 3 жыл бұрын
Zsh is faster than Bash. Ohmyzsh is bloat
@JosueRodriguez08
@JosueRodriguez08 3 жыл бұрын
Having two shells for no reason is bloat
@Pogibakayo
@Pogibakayo 4 жыл бұрын
Great toolset. I’d also recommend Tmux tho
@jairomejia616
@jairomejia616 3 жыл бұрын
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.
@wolfisraging
@wolfisraging 4 жыл бұрын
I'm glad someone made a video about this.
@Nixon_Z
@Nixon_Z Ай бұрын
I use WSL every day for everything. This is my favorite video on yt.
@adilzakarya
@adilzakarya 4 жыл бұрын
I'm in love with you videos
@leonardoraele
@leonardoraele 3 жыл бұрын
This is crazy the amount of different things we have to learn nowadays.
@AnantaAkash.Podder
@AnantaAkash.Podder 3 ай бұрын
By Far the Best Explanation for WSL in the world
@driden1987
@driden1987 4 жыл бұрын
Awesome video. You should also do one on remote containers for dev work.
@georgegach723
@georgegach723 4 жыл бұрын
Embrace, Extend, Extinguish...
@Fireship
@Fireship 4 жыл бұрын
Good point. I don't think that's their strategy here, but maybe I'm naive.
@georgegach723
@georgegach723 4 жыл бұрын
@@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...
@FaFairuz8
@FaFairuz8 4 жыл бұрын
if it is good for extending open source community.. does it still matters?
@kuhluhOG
@kuhluhOG 4 жыл бұрын
@@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.cheater
@diablo.the.cheater 3 жыл бұрын
@@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
@mrcrackerist
@mrcrackerist 4 жыл бұрын
windows in kvm with pci passthrough is still my way to fix it
@johannbauer2863
@johannbauer2863 3 жыл бұрын
same
@himanshupandey2041
@himanshupandey2041 3 жыл бұрын
I started using linux about a year ago and it's amazing I don't think I will ever go to windows again
@abhinav.sharma
@abhinav.sharma 4 жыл бұрын
YOU ARE AWESOME JEFF!🔥🚢🔥🚢🔥🚢 Looking forward on a Docker series!
@abhinav.sharma
@abhinav.sharma 4 жыл бұрын
Meanwhile Steve Balmer goes: Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer! Developer!
@cahhaccahhac3934
@cahhaccahhac3934 4 жыл бұрын
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
@MuhammadbinYusrat
@MuhammadbinYusrat 4 жыл бұрын
Correct. But the problem is Apple's pricing and dated hardware.
@hanzofuma
@hanzofuma 4 жыл бұрын
That's why we have Wine and Lotirus
@moonythm
@moonythm 4 жыл бұрын
@@hanzofuma except when I run stuff in wine the perf is worse
@hanzofuma
@hanzofuma 4 жыл бұрын
@@moonythm yeah maybe they are trying to improve it.
@MuhammadbinYusrat
@MuhammadbinYusrat 4 жыл бұрын
@@moonythm Quite a few games work just fine.
@sonmangaking
@sonmangaking 4 жыл бұрын
Must immediate click when I see these!!! :)
@souryavarenya
@souryavarenya 4 жыл бұрын
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.
@SoundPeaks
@SoundPeaks 8 ай бұрын
Dude, your content is really dope.
@ashwinarora7561
@ashwinarora7561 4 жыл бұрын
Absolutely Lifechanging for devs like me using VM. Thanks.
@SahilP2648
@SahilP2648 4 жыл бұрын
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_serenity
@ml_serenity 4 жыл бұрын
@@SahilP2648 Why do you need WSL or Linux for VNC? There are native windows VNC clients...
@SahilP2648
@SahilP2648 4 жыл бұрын
@@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_serenity
@ml_serenity 4 жыл бұрын
@@SahilP2648 you are clearly an idiot. You can VNC from Windows into anything including Ubuntu. You don't need VM or WSL for that.
@rezahosseini7851
@rezahosseini7851 4 жыл бұрын
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?
@metaorior
@metaorior 2 жыл бұрын
They are 2 machines with 2 Ip address each
@nxte8506
@nxte8506 4 жыл бұрын
Hey! Loved the video. Could you do one about how you should go about gaining experience as a web developer?
@isc77777
@isc77777 2 жыл бұрын
You made mewdiscover something really nice so thank youuuuuuu
@sanchitmishratechnogeek
@sanchitmishratechnogeek 4 жыл бұрын
3:56 someone snoring?
@JeSus-hl6zj
@JeSus-hl6zj 4 жыл бұрын
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
@jazun33
@jazun33 4 жыл бұрын
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.
@aaaaaaaaaaaaaaaaa98
@aaaaaaaaaaaaaaaaa98 2 жыл бұрын
SAME WITH ME!!! now that I no longer dual boot makes everything easier!!!
@welltypedwitch
@welltypedwitch 4 жыл бұрын
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.
@Littletsu
@Littletsu 4 жыл бұрын
haha orange browser go brrrr
@IxMeTutorials
@IxMeTutorials 4 жыл бұрын
I personally like the chrome dev tools alot more for js/ts debugging + for json formatting there are lightweight extentions that enable that.
@xucongzhan9151
@xucongzhan9151 4 жыл бұрын
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_serenity
@ml_serenity 4 жыл бұрын
Agree absolutely. Firefox is by far the best browser.
@Rob-cq1nf
@Rob-cq1nf 4 жыл бұрын
Best Web Dev Setup? Just Linux!
@himanshutripathi7441
@himanshutripathi7441 4 жыл бұрын
^^ and if in confusion which version to choose, just use ubuntu.
@matiasm.3124
@matiasm.3124 4 жыл бұрын
Yeah of course why you need windows for Dev? ... BTW Gentoo ftw...
@SergiuTalnaci
@SergiuTalnaci 4 жыл бұрын
@@matiasm.3124 Well some of us work with clients who still have plenty of code on the old .NET framework :). This is a godsend
@jakubwegrzyn3798
@jakubwegrzyn3798 4 жыл бұрын
Linux + Webstorm = best web dev setup
@anuragstutorials9484
@anuragstutorials9484 4 жыл бұрын
BTW I use arch
@gamerhardev
@gamerhardev 2 жыл бұрын
Developers!!! Developers!!! Developers!!! Developers!!! Developers!!! Developers!!! Developers!!! Developers!!! ✊
@julianstorm7722
@julianstorm7722 3 жыл бұрын
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.
@ronniesunshine1163
@ronniesunshine1163 4 жыл бұрын
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_serenity
@ml_serenity 4 жыл бұрын
Why not just use VM for the purpose?
@ronniesunshine1163
@ronniesunshine1163 4 жыл бұрын
@@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.
@iamsantanubanerjee
@iamsantanubanerjee 3 жыл бұрын
I think you can do that just by deleting your distro.... Reinstalling will give you a fresh distro again, I guess.
@marble_wraith
@marble_wraith 4 жыл бұрын
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.
@youceflounici3490
@youceflounici3490 3 ай бұрын
Thank you for the video❤
@ferywardiyanto
@ferywardiyanto 4 жыл бұрын
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.
@dream_emulator
@dream_emulator 4 жыл бұрын
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.
@KastanDay
@KastanDay 4 жыл бұрын
They've been committed to WSL for a while. I think this actually works
@StewartStewart
@StewartStewart 4 жыл бұрын
Agreed, but still less frustrating than MacOS
@gnack420
@gnack420 3 жыл бұрын
It's not "hacky" it's a standard feature that you can enable easily through the standard UI.
@MrGVSV
@MrGVSV 4 жыл бұрын
Great video, but I am still not sure on the "why". What is the reason for wanting both Linux and Windows for webdev?
@okie9025
@okie9025 4 жыл бұрын
So you can brag about how you use linux, while in reality you do 90% of the work on windows.
@TimeoutMegagameplays
@TimeoutMegagameplays 4 жыл бұрын
Running docker, and running your server in the same enviroment you will deploy to will save you lots of stress
@TimeoutMegagameplays
@TimeoutMegagameplays 4 жыл бұрын
If you don't think you need it, you don't need it really, but when you do WSL looks promissing
@MrGVSV
@MrGVSV 4 жыл бұрын
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
@bigbraintakes1173
@bigbraintakes1173 4 жыл бұрын
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.
@arjunshinde7
@arjunshinde7 4 жыл бұрын
Today you rocks , Thanks for the information.
@WilsonManzanoS
@WilsonManzanoS 4 жыл бұрын
AMAZING VIDEO, THANK YOU!
@jNayden
@jNayden 4 жыл бұрын
the WSL file system and I/O is so slow that is basically useless for development and building software on it.
@JeSus-hl6zj
@JeSus-hl6zj 4 жыл бұрын
Isn't that you computer?
@TheJustinist
@TheJustinist 4 жыл бұрын
WSL2 is way faster than WSL.
@KastanDay
@KastanDay 4 жыл бұрын
Idk not that bad, and fixed in wsl2. I/O is finally ~full speed, as if in native Linux.
@gerrywu
@gerrywu 3 жыл бұрын
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
@razmans
@razmans 4 жыл бұрын
If you're a 10x developer...use vim, hahahahhaha
@TheJobCompany
@TheJobCompany 4 жыл бұрын
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_serenity
@ml_serenity 4 жыл бұрын
@@TheJobCompany pff... who needs tiling manager when you have Emacs...
@wacesferpit
@wacesferpit 4 жыл бұрын
@@ml_serenity who needs an operating system when you have Emacs
@24wherath36
@24wherath36 4 жыл бұрын
@Богдан Кондратов yeah, and then just hand deliver it to all the people who want to visit your webiste. much less bloated.
@starmanL0L
@starmanL0L 4 жыл бұрын
@@TheJobCompany memes aside once you use a tiling wm for a while there's no going back
@disableblue883
@disableblue883 2 жыл бұрын
Already using all of these, feeling like a 10x developer 😎
@amaanullah13
@amaanullah13 Жыл бұрын
where are you working,Sir?
@nmanikiran
@nmanikiran 4 жыл бұрын
This video alone should get you 10k+ subscribers 💪
@bobkelso5681
@bobkelso5681 4 жыл бұрын
It looks like WSL is solving all of these problems that you would not had if you just directly use linux.
@bennihtm
@bennihtm 4 жыл бұрын
true!
@theclockworkcadaver7025
@theclockworkcadaver7025 4 жыл бұрын
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.
@bobkelso5681
@bobkelso5681 4 жыл бұрын
@@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.
@ialimijororakotoniaina3274
@ialimijororakotoniaina3274 4 жыл бұрын
Nice one but I will just stay with my Ubuntu
@rallisf1
@rallisf1 4 жыл бұрын
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.
@MrBledi
@MrBledi 4 жыл бұрын
Me too, I used to use dual boot for the same reason, but ultimately like a week ago removed windows because of the zero day bugs lately published
@gnul
@gnul 4 жыл бұрын
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.
@rajatsingh5714
@rajatsingh5714 3 жыл бұрын
No, it's not virtualization, it is an actual Linux kernel.
@gnul
@gnul 3 жыл бұрын
@@rajatsingh5714 Yes, it is an actual Linux Kernel, virtualized with MS' Hypervisor.
@krawieck
@krawieck 4 жыл бұрын
3:30 real 10x developer would use neovim 😎
@nico1337
@nico1337 4 жыл бұрын
+ Vundle + Some Plugins and it's perfect
@dennisbarzanoff9025
@dennisbarzanoff9025 4 жыл бұрын
@@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
@nico1337
@nico1337 4 жыл бұрын
​@@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
@blazefirer
@blazefirer 4 жыл бұрын
@@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-fg2nm
@HelloWorld-fg2nm 4 жыл бұрын
Literally no reason to use nvim anymore since vim 8 added async support.
@user-rr7yr9ml9p
@user-rr7yr9ml9p 2 жыл бұрын
Thanks! It's amazing
@magicmulder
@magicmulder 6 ай бұрын
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).
@ggalindezb
@ggalindezb 4 жыл бұрын
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.
@ionk3588
@ionk3588 4 жыл бұрын
Now I need to uninstall ubuntu somehow, I'll find it eventually
@aeee32
@aeee32 4 жыл бұрын
LMFAO
@tomek.z
@tomek.z 4 жыл бұрын
To remove Ubuntu from WSL just run 'wsl --unregister Ubuntu'. More info docs.microsoft.com/en-us/windows/wsl/wsl-config
@MrBRE3Z
@MrBRE3Z 4 жыл бұрын
I did the same thing as you did with Dual Booting. I switched to WSL less than 2 weeks ago, so I find it really funny that you made a video on it at this point in time. Though, for my setup, I use Atom and when I open it's terminal plugin, it automaticaly use the wsl command on open !
@miscible21
@miscible21 3 жыл бұрын
Those Ballmer clips are killing me! 😆
@SeriesTube01
@SeriesTube01 3 жыл бұрын
I've never seen that footage before. I laugh so hard!! 😂
@barungh
@barungh 4 жыл бұрын
I am pretty sure more than 50% likes on this video is for the way you configured other tools like shell, git etc. (rather than for Windows as best platform)
@Fireship
@Fireship 4 жыл бұрын
You're probably right
@okie9025
@okie9025 4 жыл бұрын
But Windows IS the best platform
@nuclearwinterbg
@nuclearwinterbg 4 жыл бұрын
Whats the benefit of using linux if everything already runs on windows ? I just wanna know.
@alexdev7909
@alexdev7909 4 жыл бұрын
Some tools don't, security, speed when you're used to using it etc...
@Fireship
@Fireship 4 жыл бұрын
Most servers run Linux, so you can develop locally with the exact same software on your server. Linux is easier to a administer from the command line and has a bunch of nice dev-oriented tools.
@nuclearwinterbg
@nuclearwinterbg 4 жыл бұрын
@@Fireship thanks
@ml_serenity
@ml_serenity 4 жыл бұрын
@@Fireship and why do you want to develop with the *exact* same software? Your dev is going to be some desktop distro likely (Debian, Ubuntu, whatever) while your server may be something different: CentOS, for example... I've been developing for nearly 20 years and my dev environment never fully matched staging or production, and it never was a problem. Node.js, Apache with Java stuff, Kestrel with ASP.NET Core, php, etc - everything is running exactly the same under Windows and Linux and MacOS...
@davidscandurra560
@davidscandurra560 4 жыл бұрын
You can also use a windows vm on Linux it sounds lame but with hardware virtualisation it is super fast
@TheVertical92
@TheVertical92 4 жыл бұрын
cool dude, never heard of "Windows Terminal", thanks for the Tip
How programmers flex on each other
6:20
Fireship
Рет қаралды 2,2 МЛН
The Pros and Cons of Linux in Windows
10:48
Titus Tech Talk
Рет қаралды 39 М.
Just try to use a cool gadget 😍
00:33
123 GO! SHORTS
Рет қаралды 17 МЛН
Whyyyy? 😭 #shorts by Leisi Crazy
00:16
Leisi Crazy
Рет қаралды 18 МЛН
Китайка и Пчелка 4 серия😂😆
00:19
KITAYKA
Рет қаралды 3,6 МЛН
Windows Subsystem for Linux setup WSL2 Systemd, Ansible, and Kubernetes
20:50
Why Linux Is Better For Programming
13:32
Hallden
Рет қаралды 2,7 МЛН
10 regrets of experienced programmers
8:16
Fireship
Рет қаралды 1 МЛН
🎨 Make Windows Terminal Look Better | Oh My Posh Guide
10:31
TroubleChute
Рет қаралды 353 М.
100+ Web Development Things you Should Know
13:18
Fireship
Рет қаралды 1,4 МЛН
This Zsh config is perhaps my favorite one yet.
17:24
Dreams of Autonomy
Рет қаралды 133 М.
How One Line of Code Almost Blew Up the Internet
13:47
Kevin Fang
Рет қаралды 1,9 МЛН
20 Programming Projects That Will Make You A God At Coding
14:27
The Coding Sloth
Рет қаралды 410 М.
Using docker in unusual ways
12:58
Dreams of Code
Рет қаралды 399 М.
ВСЕ МОИ ТЕЛЕФОНЫ
14:31
DimaViper Live
Рет қаралды 64 М.
Интереснее чем Apple Store - шоурум BigGeek
0:42
iPhone 12 socket cleaning #fixit
0:30
Tamar DB (mt)
Рет қаралды 32 МЛН
Мечта Каждого Геймера
0:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 1 МЛН