update WSL2

How to update WSL2

Hey folks ! This is a really quick post, kinda memo because I often forget how to update the WSL2 linux subsystem for windows and I’m tired of having to search for such a simple thing.

This is as simple as ABC.

In the terminal, open Ubuntu and type the following command :

Enter your password and here we go…

Then, type the upgrade command :

And this is it ! Hope this will help me to remember, and you too 😀

A quick tip if your computer is having hard time with its memory too, you can close WSL down when you don’t use it anymore, while typing :

Elya

Hi ! I'm a junior web developper and UX designer. Living in France, mother of 2, bookworm, cats lover, JS girl, yada yada yada. The usual stuff. Let's talk about code !

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

back to top