如何在Windows中运行.sh文件? [英] How to run .sh files in Windows?
本文介绍了如何在Windows中运行.sh文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在GitHub上下载了一些带有.sh文件的DojoToolkit存储库,我知道.sh扩展名通常是用Unix编写的shell脚本,但是存在一种在Windows中运行该脚本的方法吗?
I download some repositories of DojoToolkit in GitHub that have .sh files, I know .sh extension are typically shell scripts written in Unix, but exist a way to run this in Windows?
推荐答案
cygwin可能是最简单的方法。
cygwin is probably the easiest way.
或者,如果您已经在github上使用git-bash等等,您也可以使用它来运行.sh脚本。
Alternatively if you're already using git-bash for github etc you can use it to run .sh scripts too.
这篇关于如何在Windows中运行.sh文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文