How do I run a .sh file in Windows?

Execute Shell Script Files

  1. Open Command Prompt and navigate to the folder where the script file is available.
  2. Type Bash script-filename.sh and hit the enter key.
  3. It will execute the script, and depending on the file, you should see an output.

For More Information Please Refer:
https://www.thewindowsclub.com/how-to-run-sh-or-shell-script-file-in-windows-10
You May Also Like to Read: