实现Windows操作系统双击运行shell脚本方法

           实现Windows操作系统双击运行shell脚本方法

博主操作系统为Window11-x64操作系统。

shell脚本运行环境:需要有bash等工具

步骤:

step1:

安装工具GIT

step2:

配置方法1:设置*.sh文件默认打开的工具为git-bash

配置方法2:讲git-bash路径添加到环境变量中

step3:

双击运行shell脚本文件。

猜你喜欢

转载自blog.csdn.net/yanlaifan/article/details/114967670
今日推荐