简体   繁体   中英

How to check which build of WSL2 am I running?

Windows Subsystem for Linux 2 is great tool, but has some issues as it's still a work in progress. I'm not on Insiders Program, so I don't get newest builds. I need to deal with some memory issues which are supposed to be fixed already, but I can't figure out if I already have required build or do I need to do some upgrading or is it available only for Insiders at the moment.

My Windows build is 19042.985 (v.20H2)

On Settings -> Apps there's WSL described with 4.19.104

So which build am I using?

I think I found it by running this command in Powershell

(gcm wsl).Version

Which gives:

Major  Minor  Build  Revision
-----  -----  -----  --------
10     0      19041  488

So my build is 19041.

4.19.104 is the version of the WSL kernel .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM