msvcup
369
Stars
—
Forks
0
Watchers
—
Open Issues
待补全
许可证
Zig
语言
—
创建时间
最近更新
项目能做什么
命令行工具,用于密闭、独立安装 MSVC 和 Windows SDK。
来源:基于仓库元数据
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# msvcup A standalone tool for installing the MSVC toolchain and Windows SDK without Visual Studio. ## Why? The Visual Studio Installer manages thousands of components and runs installers that write to the registry and to locations all over the filesystem. msvcup downloads the same `.vsix`, `.msi` and `.cab` packages the Visual Studio Installer does, but instead of running them it extracts their contents into a directory you choose, without executing any installer or other code from the packages. That directory is just files: delete it to uninstall, copy it, or keep several with different versions side by side. Each install saves a lock file that contains the URL and SHA-256 hash of every package. Commit it to source control and everyone gets the same toolchain. - **Fast**: Runs in milliseconds when already installed. Put it at the start of every build script. - **Reproducible**: The lock file pins every download by URL and hash. - **Isolated**: Everything goes into one directory. No registry modifications. No installers. No conflicts. - **Cross-compilation**: Target x64, arm64, or x86 out of the box. - **Minimal**: Download only what's needed to get a working native toolchain/SDK. ## Quick Start - for CMake projects, see [examples/cmake/build.bat](examples/cmake/build.bat) - for "handmade" style projects, see [examples/handmade/build.bat](examples/handmade/build.bat) These examples contain batch scripts that download msvcup, install an MSVC/SDK, and then compile "hello.c". The cmake `build.bat` is also project agnostic, meaning it can be used to build most CMAKE projects with no changes. After downloading msvcup, the example will install the toolchain and an SDK with a command like this: ```batch > msvcup install msvc autoenv msvc-14.44.17.14 sdk-10.0.22621.7 ``` That command would install the 3 packages "autoenv", "msvc-14.44.17.14" and "sdk-10.0.22621.7" to the "msvc" directory. It also creates a lock file named "msvc.lock" alongside that msvc directory. This lock file contains all the packages and payloads along with URL's and hashes for everything msvcup installs. This lock file is meant to be commited to source control and its content is a hashable representation of all the content msvcup installs along with the entirety of all info msvcup requires to download everything. Use the `msvcup list` command to query the available packages/versions. Also note that msvcup caches everything it downloads into a global directory. Deleting the install directory and re-installing should require no network access. ## Visual Studio Command Prompts The install directory will include the following 4 vcvars files: - `vcvars-x64.bat` - `vcvars-arm64.bat` - `vcvars-x86.bat` - `vcvars-arm.bat` These scripts update the `INCLUDE`, `PATH` and `LIB` environment variables which is what transforms your shell into a "Visual Studio Command Prompt". Note that if you include the "autoenv" package, your install directory will include `autoenv/$ARCH` subdi阅读完整原文
项目深度分析 规则生成(AI 未配置)
综合评分 35.9 分。该项目在“个人可实施性”维度得 35 分,“付费可能性”维度得 20.0 分,差异化空间 45.0 分(评分依据见评分卡)。
面向细分需求的二次开发产品
| 产品构想 | 基于 msvcup 的核心能力,聚焦一个更窄的场景(如某平台、某行业)做差异化。 |
| 目标用户 | 该细分场景用户 |
| 难度/周期 | 中 · 2~6 周 |
| 收费模式 | 买断制 / 订阅制 / 广告 |
| 竞争风险 | 细分需求规模需验证 |
| 依据 | AI 推测:基于项目主题标签的判断 |
以上为规则引擎基于仓库公开数据生成的参考结论,包含推测成分,不构成投资或创业承诺;配置 AI 后可获得更深入的分析。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
相似项目数据正在完善中,暂不展示(避免误导)
项目优势与风险
| 技术成熟度 | 创建时间待补全,最近推送 ,发布过 13 个 Release |
| 社区活跃 | Star 369 / Fork 0 / Issue 0(数据支持,可自行核实) |
| 许可证 | 未检测到(需人工确认) |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。