8

想在 windows 下面写一个脚本,一键安装开发环境,用啥写比较好写一些?

 3 years ago
source link: https://www.v2ex.com/t/835416
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  Windows

想在 windows 下面写一个脚本,一键安装开发环境,用啥写比较好写一些?

  yazoox · 11 小时 30 分钟前 · 923 次点击

比如: 检查 python 2.x, python 3.x 有没有安装,没有安装就下载安装(默认就最新版本,可以通过参数指定版本) 检查 nodejs, 没有就下载安装(同上) 检查 javaruntime, ... 检查 visual studio ,... 以及 一些有安装包,或者安装脚本,并且支持静默安装的工具 ...

本来想用 windows command line ,但这个“太弱了”,使用起来很“难受”,还不好调试,powershell 不太熟。难道要用 python 或者 javascript ?

windows 平台下有一个 scoop 还是啥,不知道能否写个脚本,让 scoop 一个一个安装工具?

所以,特来请教一下。

或者,有没有已经写好的脚本,能够安装大多数 windows 下台下的开发工具,剩下的,我再补充一下?


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK