version_os
September 14, 2025 ยท View on GitHub
Shows how to use xtd::version to get the Operating System version.
Sources
Build and run
Open "Command Prompt" or "Terminal". Navigate to the folder that contains the project and type the following:
xtdc run
Output
Operating System: macOS 11.6.0 (11.6.0.0)