登录 注册
开发者工具内容创作与媒体工具
369
Stars
12
Forks
4
Watchers
16
Open Issues
MIT
许可证
Zig
语言
2025-06-07
创建时间
2026-11-11
最近更新

项目能做什么

命令行工具,用于密闭、独立安装 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 真实检索

项目中文简介Stars语言
wolfv/msvcup 中文介绍暂未生成
A standalone tool for installing the MSVC toolchain and Wind
4 Rust
mefistofelix/msvcup 中文介绍暂未生成
0 Go
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。

项目优势与风险

技术成熟度创建于 2025-06-07,近 30 天仍在推送,发布过 13 个 Release
社区活跃Star 369 / Fork 12 / Issue 16(数据支持,可自行核实)
许可证MIT
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

快速开始(以仓库 README 为准)
git clone https://github.com/marler8997/msvcup.git
cd msvcup
# 请阅读仓库 README 获取确切安装步骤(依赖、配置、启动命令)
阅读原仓库文档
术语说明:Docker=应用容器(把程序和依赖打包运行);API Key=调用外部服务的密钥;Git Clone=把仓库代码下载到本地。常见错误:API Key 未配置 / 端口占用 / 数据库连接失败,多数项目在 README 的 Troubleshooting 章节有说明。