# 使用 npm 安装 knex-migrator

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

## 安装

```sh
sudo av install npm:knex-migrator
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g knex-migrator
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:knex-migrator
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/knex-migrator>
- **版本:** 6.1.0
- **来源摘要:** Database migrations with knex.
- **仓库:** <https://github.com/TryGhost/knex-migrator>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/knex-migrator/-/knex-migrator-6.1.0.tgz>
- **问题跟踪器:** <https://github.com/TryGhost//knex-migrator/issues>
- **发布时间:** 2026-07-16T09:46:26.262Z
- **最后更新:** 2026-07-16T09:46:26.262Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- knex-migrator (cli)
- knex-migrator-health (cli)
- knex-migrator-init (cli)
- knex-migrator-migrate (cli)
- knex-migrator-reset (cli)
- knex-migrator-rollback (cli)
- knex-migrator (别名)

## 依赖

- @tryghost/database-info
- @tryghost/errors
- @tryghost/logging
- @tryghost/pro-ship
- @tryghost/promise
- commander
- compare-ver
- debug
- knex
- lodash
- moment
- mysql2
- nconf
- resolve

## 构建依赖

- @vitest/coverage-v8
- oxfmt
- oxlint
- rimraf
- should
- sinon
- vitest

## 安装行为

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

## 版本和新鲜度

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

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 6.1.0
- **Version Count:** 131
- **Maintainers:** zimoatghost, allouis, kernalghost, chrisraible, erisds, johnonolan, kevinansfield, cobbspur, aileencgn, jloh, minimaluminium, sam-lord
- **Author:** Ghost Foundation
- **Publisher:** GitHub Actions
- **Engines:** Node: ^22.13.1 || ^24.14.1
- **Optional Dependencies:** better-sqlite3
- **Integrity:** sha512-rjsNQ4UgRsRWt/HrKYS/GwaIj8+PUEPeFaxcIhAgyCjszyMhCAaB3ISt/yGmxCBph3aNi1wnmJ9qZYm139/NwQ==
- **Shasum:** bb723e8102e3ef72751297fe2259a8f864dea12e
- **Unpacked Size:** 88,965
- **File Count:** 0
- **Created At:** 2016-10-17T09:31:46.762Z
- **Latest Published At:** 2026-07-16T09:46:26.262Z
- **Modified At:** 2026-08-03T01:16:53.430Z


## 相关链接

- [Database and data packages](https://pkg.so/zh-hans/database-data-tools/) - Matched curated package taxonomy and local package facts.
- [knex](https://pkg.so/zh-hans/npm/knex/) - Package names and metadata indicate a similar tool family. Shared terms: commander, database, debug, knex, lodash.
- [knex-migrate](https://pkg.so/zh-hans/npm/knex-migrate/) - Package names and metadata indicate a similar tool family. Shared terms: database, knex, lodash, migrate, migration.
- [gscan](https://pkg.so/zh-hans/npm/gscan/) - Local package facts share a topical domain. Shared terms: debug, errors, ghost, lodash, logging.

## 来源

- pkg.so package database
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
