# 使用 npm 安装 vitepress

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

## 安装

```sh
sudo av install npm:vitepress
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g vitepress
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:vitepress
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/vitepress>
- **版本:** 1.6.4
- **来源摘要:** Vite & Vue powered static site generator
- **主页:** <https://vitepress.dev/>
- **仓库:** <https://github.com/vuejs/vitepress>
- **上游文档:** <https://vitepress.dev/>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/vitepress/-/vitepress-1.6.4.tgz>
- **问题跟踪器:** <https://github.com/vuejs/vitepress/issues>
- **发布时间:** 2025-08-05T13:40:31.197Z
- **最后更新:** 2025-08-05T13:40:31.197Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- vitepress (cli)
- vitepress (别名)

## 依赖

- @docsearch/css
- @docsearch/js
- @iconify-json/simple-icons
- @shikijs/core
- @shikijs/transformers
- @shikijs/types
- @types/markdown-it
- @vitejs/plugin-vue
- @vue/devtools-api
- @vue/shared
- @vueuse/core
- @vueuse/integrations
- focus-trap
- mark.js
- minisearch
- shiki
- vite
- vue

## 构建依赖

- @clack/prompts
- @iconify/utils
- @mdit-vue/plugin-component
- @mdit-vue/plugin-frontmatter
- @mdit-vue/plugin-headers
- @mdit-vue/plugin-sfc
- @mdit-vue/plugin-title
- @mdit-vue/plugin-toc
- @mdit-vue/shared
- @polka/compression
- @rollup/plugin-alias
- @rollup/plugin-commonjs
- @rollup/plugin-json
- @rollup/plugin-node-resolve
- @rollup/plugin-replace
- @types/cross-spawn
- @types/debug
- @types/fs-extra
- @types/lodash.template
- @types/mark.js
- @types/markdown-it-attrs
- @types/markdown-it-container
- @types/markdown-it-emoji
- @types/micromatch
- @types/minimist
- @types/node
- @types/postcss-prefix-selector
- @types/prompts
- chokidar
- conventional-changelog-cli
- cross-spawn
- debug
- esbuild
- execa
- fs-extra
- get-port
- gray-matter
- lint-staged
- lodash.template
- lru-cache
- markdown-it
- markdown-it-anchor
- markdown-it-attrs
- markdown-it-container
- markdown-it-emoji
- markdown-it-mathjax3
- micromatch
- minimist
- nanoid
- ora
- p-map
- path-to-regexp
- picocolors
- pkg-dir
- playwright-chromium
- polka
- postcss-prefix-selector
- prettier
- prompts
- punycode
- rimraf
- rollup
- rollup-plugin-dts
- rollup-plugin-esbuild
- semver
- simple-git-hooks
- sirv
- sitemap
- synckit
- tinyglobby
- typescript
- vitest
- vue-tsc
- wait-on

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.6.4
- 管理器更新时间: 2025-08-05
- 本地数据: OK
- 上游仓库: https://github.com/vuejs/vitepress
- notice: The package-manager record has not changed recently.
- 信息: No cached GitHub release or tag data was available.

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 1.6.4, Next: 2.0.0-alpha.19
- **Version Count:** 267
- **Maintainers:** yyx990803, posva, kiaking, antfu, brc-dd
- **Author:** Evan You
- **Publisher:** brc-dd
- **Peer Dependencies:** markdown-it-mathjax3, postcss
- **Integrity:** sha512-+2ym1/+0VVrbhNyRoFFesVvBvHAVMZMK0rw60E3X/5349M1GuVdKeazuksqopEdvkKwKGs21Q729jX81/bkBJg==
- **Shasum:** 1b6c68fede541a3f401a66263dce0c985e2d8d92
- **Unpacked Size:** 2,754,396
- **File Count:** 0
- **Created At:** 2020-04-30T22:35:36.214Z
- **Latest Published At:** 2025-08-05T13:40:31.197Z
- **Modified At:** 2026-08-02T00:43:43.781Z


## 相关链接

- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [vuepress](https://pkg.so/zh-hans/npm/vuepress/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, core, developer, developer-tools, documentation.
- [jsdoc](https://pkg.so/zh-hans/npm/jsdoc/) - Both packages work with overlapping file formats or content types. Shared terms: api, cli, developer, developer-tools, documentation.
- [dumi](https://pkg.so/zh-hans/npm/dumi/) - Both packages work with overlapping file formats or content types. Shared terms: cli, core, developer, developer-tools, documentation.

## 来源

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