How do I run a .sh file in Cygwin?

there is a .sh file that needs to be run in Cygwin, and the prompt "command not found" appears:

dell@DESKTOP-N3ARKV6 /cygdrive/d/Crunch/src
$ install-dependencies.sh
-bash: install-dependencies.sh: 

how can I run it?

Mar.12,2021

should be . / install-dependencies.sh
or sh install-dependencies.sh

if you don't add . / , shell will look for this command in $PATH , and the current directory is not under $PATH . Add . / to execute the script in the current directory

Menu