WSLVAR(1)

πŸ“¦
version 4.1.4 Β· 2 versions
, in alpine 3.24

πŸ’… WSLVAR(1) β€” the wslvar glow-up (WSL Utilities User Manual, bestie) πŸŽ€

okay so picture this: you're in your Linux terminal era ✨, living your best life, but you need the tea from the Windows side of the machine. That's where wslvar comes in. It's a whole component of WSL Utilities, and it's here to hand you Windows system environment variables like your most reliable friend who always knows the group chat drama 🫢


✨ NAME ✨

wslvar β€” Component of WSL Utilities πŸ’–


🌸 SYNOPSIS 🌸

wslvar [-sl] NAME

wslvar [-hvSL]

πŸ¦‹ DESCRIPTION πŸ¦‹

This is a WSL tool that helps you get Windows system environment variables. That's it, that's the vibe. It pulls the Windows-side info you need and hands it over, no cap πŸŽ€


πŸ’… OPTIONS πŸ’…

πŸ“ Output Type Options

  • -s, --sys β€” use data from system local & global variables. the classic "give me the system-wide stuff" move ✨
  • -l, --shell β€” use data from Shell folder environment variables. this one's all about the Shell folder vibes 🐚

🧚 Other Options

  • -h, --help β€” print a simple help. your little "what do I do now" moment, but make it helpful πŸ’œ
  • -v, --version β€” print current version. literally just the version, bestie πŸ“Œ
  • -S, --getsys β€” show available system local & global variables. great for a little window shopping before you commit πŸ‘€
  • -L, --getshell β€” show available Shell folder environment variables. same shopping spree, Shell folder edition πŸ›οΈ

🌈 CONFIGURATION 🌈

  • WSLVAR_DEFAULT_VARTYPE β€” the default type of variable to get when you don't specify an option. The default type is 1. Here are the available Types:
    • 1: User Shell Folders
    • 2: Windows Environment Variables

so if you're the type of person who never specifies an option (respect, honestly), this env var decides what you get πŸ’«


πŸ‘‘ AUTHOR πŸ‘‘

Created by Patrick Wu <me@patrickwu.space> β€” icon behaviour, we love to see it 🫢


πŸ› REPORTING BUGS πŸ›

Report bugs to <https://github.com/wslutilities/wslu/issues>; for Ubuntu specific/related bugs, report to <https://bugs.launchpad.net/ubuntu/+source/wslu>. Found a problem? don't suffer in silence, drop it in the issue tracker, the maintainers ate and left no crumbs πŸ”₯


This is free software; you can redistribute it and/or modify it under the terms of the GNU GPL version 3 or (at your option) any later version. There is NO warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. so like, it's free, it's open, it's yours to remix β€” but if it breaks, it breaks, and that's on nobody πŸ™ˆ


⭐ SEE ALSO ⭐

  • wslu(7) β€” the rest of the WSL Utilities universe, go explore bestie πŸ¦‹

kisses, this page is wslvar from WSL Utilities, version 4.1.4-1, dated 2026-05-01 πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from