Uiautomator.jar

For my Appium project, I have downloaded the latest command line tools “commandlinetools-win-6858069_latest” and downloaded platform tools for Android-30 where I can see uiautomator.jar under \cmdline-tools\platforms\android-30 folder. Previously we used to have uiautomatorviewer.bat under tools/bin folder which can be executed by double click or from the command line. I am using Windows 10 and I haven’t installed SDK Studio.

How to use this jar file to execute uiautomatorviewer?