# 使用 npm 安装 create-vite

查看 create-vite 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install npm:create-vite
```

其他安装命令:

### 便携式和语言管理器

- npm (100%):

```sh
npm install -g create-vite
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:create-vite
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/create-vite>
- **版本:** 9.1.2
- **来源摘要:** > **Compatibility Note:** > Vite requires Node.js version 20.19+, 22.12+. However, some templates require a higher Node.js version to work, please upgrade if your package manager warns about it.
- **主页:** <https://github.com/vitejs/vite/tree/main/packages/create-vite#readme>
- **仓库:** <https://github.com/vitejs/vite>
- **上游文档:** <https://github.com/vitejs/vite/tree/main/packages/create-vite#readme>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/create-vite/-/create-vite-9.1.2.tgz>
- **问题跟踪器:** <https://github.com/vitejs/vite/issues>
- **发布时间:** 2026-07-30T12:04:45.070Z
- **最后更新:** 2026-07-30T12:04:45.070Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- create-vite (cli)
- cva (cli)
- create-vite (别名)

## 构建依赖

- @clack/prompts
- @vercel/detect-agent
- cross-spawn
- mri
- tsdown
- unrun

## 安装行为

- post-install 钩子: 未定义
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 9.1.2
- 管理器更新时间: 2026-07-30
- 本地数据: OK
- 上游仓库: https://github.com/vitejs/vite
- 信息: No cached GitHub release or tag data was available.

## 安全说明

没有找到 create-vite 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Beta: 8.0.0-beta.0, Latest: 9.1.2
- **Version Count:** 97
- **Maintainers:** yyx990803, vitebot, antfu, patak
- **Author:** Evan You
- **Publisher:** GitHub Actions
- **Engines:** Node: ^20.19.0 || >=22.12.0
- **Funding:** <https://github.com/vitejs/vite?sponsor=1>
- **Integrity:** sha512-6plDCgTP2LHMQ4QHw8ZgUE+z9vOIU30lC0aq/wF4cOtGNaJg72DdsPS8Jm9geAVnyr4QjgRfepMn8lkXyeSh0g==
- **Shasum:** 5f9f236e0dff21247e1a34aeceb8f34286d7f2c0
- **Unpacked Size:** 866,879
- **File Count:** 0
- **Created At:** 2020-07-08T13:27:20.890Z
- **Latest Published At:** 2026-07-30T12:04:45.070Z
- **Modified At:** 2026-07-30T12:04:45.861Z


## 相关链接

- [Web development packages](https://pkg.so/zh-hans/web-dev-tools/) - Matched curated package taxonomy and local package facts.
- [create-vite-init](https://pkg.so/zh-hans/npm/create-vite-init/) - Executable or command metadata overlaps with this package. Shared terms: about, cli, compatibility, create, cva.
- [create-graphback](https://pkg.so/zh-hans/npm/create-graphback/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, create, developer, developer-tools, node.
- [create-medusa-app](https://pkg.so/zh-hans/npm/create-medusa-app/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, create, developer, developer-tools, node.

## 来源

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
