its just a lite weight vm these days , during wsl1 there were some major issues like mounting a file img and other stuffs so they literally removed the whole llinux to windows binary translator and made wsl2 which uses a light weight linux kernel , though the main point i used wsl1 cause of the android adb and now it doesn't work at all in wsl2 as there is no binary translator so there is no bus access between windows and wsl...though everything's aside its a fluent tool and a light weight vm for developers on the go
You're awesome Christian! I just joined membership program. Thanks a lot for this wonderful contents. PS. My favourite feature of WSL is split screen pane horizontal or vertical, love this :)
Hey, it looks like the windows folder is missing from your dotprofiles github repo, can't find your settings.json :( Also, i noticed there's a .bashrc file as well. Have you moved away from zsh?
Thanks! This video is really helpful. Hope you come up with a newer video sort of an update to this one. Anyway, following your steps, I tried Cascadia Code and JetBrainsMono Nerd Font in my terminal and they look great too!
there is a problem though you can't access wlan0 through wsl2 if you don't have windows10 pro because in order to access wlan0 through wsl2 you need to have hyper v enabled and hyper v is only available in windows 10 pro
The color schemes are in the settings file, but I also did some customizations to the color codes used by powershell that are in the .p10k file. Hope this helps :)
@@christianlempa Yes! I checked all the color schemes of the settings file but non of those are the ones from this video. This personalization looks awesome! Is it possible to get them?
Stupid questions... but I can't seem to find the Windows JSON files like you're showing there in your GitHub....There is no "Windows" under "Main". ???
You can limit WSL2 with a simple config. Search for "WSL2 memory limit". Of course if you are experience memory problems it is probably because you are really stressing the subsystem with multiple containers (both WSL2 & docker apply here). In which case, it actually falls more on the docker team than it does the host operating system. The Hyper-V system is still very very new.
Has anyone found out what the problem is there? I got this response from other people as well, but the only way seems to limit the memory of WSL in the config file.
@@christianlempa or upgrade you RAM to 32G 😁. I'm a Magento developer and Magento itself is heavy and resource consuming. Limit the memory in the config file does not work for me as it sometimes causes weird issues like Elasticsearch container dies for no reason.
Are there a specific installation instruction videos? Although the relevant documentation is listed in the video description, I am concerned that doing it wrong will prevent you from falling back to a clean environment. This will always go wrong.
great content as always!!! I've watched this tutorial and your Docker VSCode Python Tutorial, Run your App in a Container video. Only thing I was missing in those video's is where do you use Git? There are so many possibilities. (code directly in WSL within a venv, download a python container and use that etc etc) Using Git(hub) to track your code is essential. So my question is, where do you do your code commits when using vscode with WSL and Docker?
@@christianlempa why don’t you make same for iterm? I have tried to get same colors but looks different. I loved your one can you please make one for mac.
@@christianlempa Well, in my case more and more often I stay on Odysee. Of course many channels that I follow only publish on YT. But it's so good that Odysee is growing.
Haven't tried minikube, yet. I just did one installation of microk8s, which seems to be pretty similar. But recently I found it easier to just go with Docker Desktop, btw the Kubernetes extension of it is also great!
@@christianlempa thanks for the insight. Will try it out with microk8s, minikube and kind were problematic. Yea you can have Docker on desktop and still have it running in your WSL env. That was useful haha. I'm quite new to DevOps, keep up the amazing content yo. Much love from Lanka!
I love what wsl2, which helps one not to worry about CRLF/^M line feeds. But honestly, just pay $500-750 more and get a Mac. BTW writing code on VM is a pain. Don’t get me started on debugging. Way too many layers….
I've a question, i'm working actually in a web development, but when i open a live server, i can't open the ip of the live server with Windows. Do u know how can i solve it?
Thanks for the video Christian! I have subscribed to your channel and will keep an eye on any updates! I just wanted to ask your opinion for Ansible on WSL. Thanks
Thanks mate, currently I'm quite new to linux, in my new job we use Virtual Box to use Ubuntu. So with this method we dont actually need to use the Ubuntu gui to run a web browser or vscode, we still use those tools in the windows os, is that how it works, thanks!
May have already been asked. But, I use the same color theme you have with my desktop and ALL of my trading software, charts, trading platforms. Can you share your VSCODE color theme - I am guessing it has already been asked. So, sorry for the repeat!
Thank you mate! This is a vscode theme that I'm currently making myself. I'll make it available as an extensions, soon. I'll let you know once it is available :)
I'm late to the comments but after using WSL2 for more than a year, I think I have some valid experience. If you were never a Linux user, then sure, you might like WSL2 and think you are running Linux. When you want to really develop code and have solid access to hardware, you will find yourself frustrated at the complexity of going the WSL2 route vs running native. Just my experience from a firmware engineer with 19 years experience in Linux. After listening to his explanation of customizing the terminal and shell, I have to say that's unnecessary in Linux. This is just my opinion, but if I was allowed to erase Windows off my work machine, I'd install Linux and never use Windows again.
You created a fake video, and you're providing explanations without full transparency. When sharing links, you make it seem like you're generously sharing valuable information, but the links lead to different content. Are you attempting to deceive people? The Dotfiles link appears to be fake as well. What will you ask for next, a Patreon subscription to access these links? This approach is quite frustrating. I'm sorry, but this isn't a legitimate way to earn trust or credibility. Ultimately, you may lose credibility with this approach.
Regolith desktop on Linux. I just don't want to drag windows around anymore and I hate taking my fingers of the keyboard. For development: JetBrains Rider. Shell: zsh on kitty
Microsoft really caught up the last 5 years, wsl and wslg with vscode is absolutely mindblowing.
its just a lite weight vm these days , during wsl1 there were some major issues like mounting a file img and other stuffs so they literally removed the whole llinux to windows binary translator and made wsl2 which uses a light weight linux kernel , though the main point i used wsl1 cause of the android adb and now it doesn't work at all in wsl2 as there is no binary translator so there is no bus access between windows and wsl...though everything's aside its a fluent tool and a light weight vm for developers on the go
vscode is trash
@@itztoreveuwu3869 I will not be surprised if you turned out to be a vim user but you are 100% right😅
@@Neon-vy3jd xd i actually am a vim user and only say that because writing cose on vscode is soooo damn slow.
@@itztoreveuwu3869 what do you mean slow?
I'm absolutely loving up WSL2. Very excited for WSLg to be officially released.
Oh yeah, this will be cool :D
This video needs about 1000 times the views it currently has. Fantastic content!
Thank you so much! I'm glad you like it :)
Dope, thanks for not being boring
Glad you enjoyed!
You're awesome Christian! I just joined membership program. Thanks a lot for this wonderful contents.
PS. My favourite feature of WSL is split screen pane horizontal or vertical, love this :)
Thank you so much 😃 and welcome to the community, bro! Oh yeah this feature is really awesome.
Thank you for the walk through! I'm about to switch from macOS to Windows and want to get most out of it. Cheers!
Same here
Wow, great content. I installed WSL2 but was not exactly sure how it fits with the rest of the system. Great to have the best of both worlds!
Glad it helped!
Awesome video. I will setup my wsl2 tomorrow and I came across this video. It's really helpful
Just format, install Arch and AWM + ZSH done ! No more winbloat with Microsoft and Google big brothers watching you all time !
WSL is a godsend and the best thing that ever happened to Windows!
True :D
Loved it bro. Love from Pakistan.
Thank you! Greetings from Germany :)
Ich habe vor kurzem auf Windows 11 umgestellt. Die Kombination aus WSL und dem neuen Windows Terminal ist einfach großartig, ich bin super zufrieden.
Cool! Danke das zu hören, und ja finde ich auch :)
OMG thanks for this tutorial, really needed it !
You’re welcome
Thank you, you have answered many questions I had.
You're welcome, glad you liked it 😁
This is great! Keep up
Thanks, will do!
Hi Christian, Thanks for a great video. I like your color so much
Thank you :D
Thanks . Awesome video
Glad you liked it!
Sir in your github repo I can't find your settings.json file for colour schemes!
Hey, it looks like the windows folder is missing from your dotprofiles github repo, can't find your settings.json :(
Also, i noticed there's a .bashrc file as well. Have you moved away from zsh?
Ok yeah, you can find it now on my other repo dotfiles-win
I have been having problems with the vs code dont open from wsl ubuntu, ubuntu says that dont have permission to open vs code.
Thant you! Very informative! Always forgot to subscribe watching your helpful videos..( Now it's time to subscribe. Your content is great!
Thank you so much! :D
Thank you for the great video! I learnt about yadm from you today!!!! awesome
Thank you so much! Glad you liked it :)
Thanks fireship!
slick stuff my guy
thanks :D
How did you get your terminal in VSCode to render properly? Mine looks weird when using the FiraCode Nerd Font Mono font in it.
Some don't work so well, I think I'm using the Retina Font that works mostly.
Good stuffs. I love this. Nice animation. Nothing more, i give u 1 sub
Thanks for the sub! :)
This helped me a lot! Thanks for sharing this video
Thanks! Happy to help 😀
I'm agree it's just a Tool to Achive Something.
Really? this guy just have 15K sub? Common humans, be respectful and sub for talents like this!
Haha thank you 😊
When i execute ls
the folders and files have a high contrast purple and their name is blue so its hard to read and see
how can i make it like yours??
I'll update the colortheme soon. That will make things better :)
Thanks! This video is really helpful. Hope you come up with a newer video sort of an update to this one. Anyway, following your steps, I tried Cascadia Code and JetBrainsMono Nerd Font in my terminal and they look great too!
there is a problem though you can't access wlan0 through wsl2 if you don't have windows10 pro because in order to access wlan0 through wsl2 you need to have hyper v enabled and hyper v is only available in windows 10 pro
Any thoughts on IntelliJ as IDE? It has gotten lots of improvement in regards to WSL the last few releases.
I generally don't like any JetBrains IDE, but this is probably just my personal taste. Objectively they're not bad, I just don't like the feeling... 😄
Hi how you are running two bash shell in one tab of terminal like bash1, *bash2
You can tile the windows with a hotkey in the Windows Terminal, that's pretty useful
@@christianlempa actually I have asked that because I need the feature that new tab open in current tab
How can I get those color Schemes for zsh terminal ? those aren't in your github settings.json repo!
The color schemes are in the settings file, but I also did some customizations to the color codes used by powershell that are in the .p10k file. Hope this helps :)
@@christianlempa Yes! I checked all the color schemes of the settings file but non of those are the ones from this video. This personalization looks awesome! Is it possible to get them?
@@hugo9577 still not sure, I'll check the repo later. But feel free to send me a DM on Discord if you don't find it.
How do you have icons when you list files in folder??
look for colorls and install it
Stupid questions... but I can't seem to find the Windows JSON files like you're showing there in your GitHub....There is no "Windows" under "Main". ???
I think they have changed a lot in their config support recently, not sure where it is now
Your terminal looks clean !, whats font are you using (also, are you using Windows Terminal or ..) ?
Yeah, Windows Terminal and WSL customizations ;)
dotfiles not found to change color terminal
WSL2 just kills my memory, hope it’s better on Windows 11
You can limit WSL2 with a simple config. Search for "WSL2 memory limit".
Of course if you are experience memory problems it is probably because you are really stressing the subsystem with multiple containers (both WSL2 & docker apply here). In which case, it actually falls more on the docker team than it does the host operating system. The Hyper-V system is still very very new.
I’m using WSL2 on Windows 11. It is not any better.
Has anyone found out what the problem is there? I got this response from other people as well, but the only way seems to limit the memory of WSL in the config file.
@@christianlempa or upgrade you RAM to 32G 😁. I'm a Magento developer and Magento itself is heavy and resource consuming. Limit the memory in the config file does not work for me as it sometimes causes weird issues like Elasticsearch container dies for no reason.
@@hansphung yep thats also a good solution 🤣
Are there a specific installation instruction videos? Although the relevant documentation is listed in the video description, I am concerned that doing it wrong will prevent you from falling back to a clean environment. This will always go wrong.
great content as always!!! I've watched this tutorial and your Docker VSCode Python Tutorial, Run your App in a Container video.
Only thing I was missing in those video's is where do you use Git? There are so many possibilities. (code directly in WSL within a venv, download a python container and use that etc etc) Using Git(hub) to track your code is essential. So my question is, where do you do your code commits when using vscode with WSL and Docker?
A lot of commands like chmod, du, df, tr , etc don’t work in the windows terminal. Its really very frustrating working with linux in windows
Hi is it possible to create extension/plugin for Windows Terminal?
I don't think so, but honestly I'm not sure
Hi there, the powerlevel10k theme and icons are not showing properly in vscode but it works perfectly on windows terminal
Do you by chance have a video on how you configured Arch on wsl?
Did you change it on github couldn't find some files was thinking to use same colors in iterm2. As I am already using Oh my ZSH and powerlelvel10k.
I organized the files a bit differently, and also switched my prompt the last months, so yeah might be an update.
@@christianlempa why don’t you make same for iterm? I have tried to get same colors but looks different. I loved your one can you please make one for mac.
Found this channel via odysee :D
Haha nice :D Are you watching it on YT more or on Odysee? Just curious :)
@@christianlempa Well, in my case more and more often I stay on Odysee. Of course many channels that I follow only publish on YT. But it's so good that Odysee is growing.
slanting style shows ugly in vscode terminal even after changing font family in vscode. please help fix this.
Well, that's always going to be an issue, I haven't found a great fix for that in vscode either :/
Everytime I enable wsl I get blue screen when I shift my laptop
Can you share your WindowsTerminalIcons folder please ?
btw GREAT VIDEO thanks a lot
I was using this for a while, then I had trouble setting up minikube, so I stopped. :/ Guess I'll give this another shot
Haven't tried minikube, yet. I just did one installation of microk8s, which seems to be pretty similar. But recently I found it easier to just go with Docker Desktop, btw the Kubernetes extension of it is also great!
@@christianlempa thanks for the insight. Will try it out with microk8s, minikube and kind were problematic. Yea you can have Docker on desktop and still have it running in your WSL env. That was useful haha.
I'm quite new to DevOps, keep up the amazing content yo. Much love from Lanka!
sir i'm using wsl too, i dont know how to setup vpn in it, can you help me please
Any tips on changing terminal colors inside vs code? I mean - change the directory colors, directory background etc.
You can just use my vscode theme
Where do I find that distribution? "Arch Linux"
I used this project here: github.com/yuk7/ArchWSL , but note it's not liked by the Arch devs :D
what tools do you use for recording/editing videos ?
For recording I use OBS, and for editing I recently switched from Premiere Pro to Davinci Resolve. Absolutely amazing tools in my opinion 😄
I love what wsl2, which helps one not to worry about CRLF/^M line feeds.
But honestly, just pay $500-750 more and get a Mac. BTW writing code on VM is a pain. Don’t get me started on debugging.
Way too many layers….
I've a question, i'm working actually in a web development, but when i open a live server, i can't open the ip of the live server with Windows. Do u know how can i solve it?
hmm not sure, maybe you can take a look at our discord for help
thanks for this great video, I had a question about zsh , How to enable cursor blinking in windows terminal ?? (I'm using wsl2 )
Thanks for the video Christian! I have subscribed to your channel and will keep an eye on any updates! I just wanted to ask your opinion for Ansible on WSL.
Thanks
Thanks mate! Ansible works great on WSL2 ;)
Thanks mate, currently I'm quite new to linux, in my new job we use Virtual Box to use Ubuntu. So with this method we dont actually need to use the Ubuntu gui to run a web browser or vscode, we still use those tools in the windows os, is that how it works, thanks!
where is the json file for color schemes?
VS code debugging peformance issues on WSL2 make me cry. But great setup besides that
Can we relaunch the setup wizard for powerlevel10k??
Yes you can execute the p10k configure command again
I love th flexibility of Linux window managers but hate xorg and gnome 3
Well in Linux you're not forced to use it right? :P
hi :)
how to acsess postgresql in windows with wsl2 ?
why in the world would you have wsl instead of a bare metal install?
nice😃
do you need windows pro edition?
Why not use git instead of yadm? I didn't get it.
Adds some useful features to it.
Building 32bit embedded system not possible on WSL / WSL2.
ca-careca do adrenaline? 😳😳😳
May have already been asked. But, I use the same color theme you have with my desktop and ALL of my trading software, charts, trading platforms. Can you share your VSCODE color theme - I am guessing it has already been asked. So, sorry for the repeat!
But i have window home basic.... WSL doesn't work on that.
It should work if you have Windows 10 or 11 and virtualization enabled on your CPU (VT-X on Intel and SVM fffor AMD)
Are the dotfiles gone? 😢
You should find ‚em on my dotfiles-win repo
You have a great theme for VS Code. Is It an extension?
Thank you mate! This is a vscode theme that I'm currently making myself. I'll make it available as an extensions, soon. I'll let you know once it is available :)
@@christianlempa up fo this
Can you actually show us step by step how to do it for noobs like me please
How do I get icons when using the 'ls' command? Is there a plugin you are using?
I'm using the "exa" project: github.com/ogham/exa, I just created an alias in my zshrc file calling exa with --icons parameter
Sere the great..
Love your hair setup for linux dev too
👍
Vs Code theme name?
The Digital Life 😆
I'm late to the comments but after using WSL2 for more than a year, I think I have some valid experience. If you were never a Linux user, then sure, you might like WSL2 and think you are running Linux. When you want to really develop code and have solid access to hardware, you will find yourself frustrated at the complexity of going the WSL2 route vs running native. Just my experience from a firmware engineer with 19 years experience in Linux. After listening to his explanation of customizing the terminal and shell, I have to say that's unnecessary in Linux. This is just my opinion, but if I was allowed to erase Windows off my work machine, I'd install Linux and never use Windows again.
More easy install one distro :)
?
Try Garuda linux.
Hm I don't see any reason why, sorry
Awsooooome
Thanks!
It seems using wsl u format ur hair 💋
lol? :D
mind reader
humpty dumpty in alternative universe
Windows-WSL2 networking sucks. Vanilla Linux is the best development environment, bar none.
bro just use linux at this point...
Nope
@@christianlempa why, I switched to linux for coding and now I use it as my daily driver
for c++, linux is necessary
You created a fake video, and you're providing explanations without full transparency. When sharing links, you make it seem like you're generously sharing valuable information, but the links lead to different content. Are you attempting to deceive people? The Dotfiles link appears to be fake as well. What will you ask for next, a Patreon subscription to access these links? This approach is quite frustrating. I'm sorry, but this isn't a legitimate way to earn trust or credibility. Ultimately, you may lose credibility with this approach.
Win sucks for development. Once you will try mac - you will never come back. WSL dont make life easier.
Want linux - try real ubuntu.
Regolith desktop on Linux.
I just don't want to drag windows around anymore and I hate taking my fingers of the keyboard.
For development: JetBrains Rider.
Shell: zsh on kitty