Run.bat and Install.bat are no longer used. If you downloaded the bot as a ZIP file, then you installed it wrong. Delete the SharpBot folder and ZIP file and follow the instructions in the installation section.
You are clearly on Windows since you're trying to run the Run.bat and Install.bat files, so you are most likely suffering from a common Windows issue; Yarn is often not recognized until after a reboot. This is a common problem, and the cause has yet to be determined. It is not an issue with SharpBot or any of my software, but rather with either Windows or Yarn.
Please reboot, delete the SharpBot folder and ZIP file, and then reinstall properly.
It only doesn't work in the run.bat. And Install.bat just freezes.