# 使用 npm 安装 tsr

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

## 安装

```sh
sudo av install npm:tsr
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g tsr
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:tsr
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/tsr>
- **版本:** 1.3.4
- **来源摘要:** TypeScript Remove (tsr) is a utility that removes unused code from TypeScript projects – It's like tree shaking, but for source files
- **主页:** <https://github.com/line/tsr#readme>
- **仓库:** <https://github.com/line/tsr>
- **上游文档:** <https://github.com/line/tsr#readme>
- **许可证:** Apache-2.0
- **源码归档:** <https://registry.npmjs.org/tsr/-/tsr-1.3.4.tgz>
- **问题跟踪器:** <https://github.com/line/tsr/issues>
- **发布时间:** 2025-01-08T08:28:07.844Z
- **最后更新:** 2025-01-08T08:28:07.844Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- tsr (cli)
- tsr (别名)

## 依赖

- mri
- picocolors

## 构建依赖

- @eslint/js
- @types/node
- esbuild
- eslint-config-prettier
- eslint-plugin-prettier
- prettier
- strip-ansi
- tsx
- typescript-eslint

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.3.4
- 管理器更新时间: 2025-01-08
- 本地数据: OK
- 上游仓库: https://github.com/line/tsr
- 警告: The package-manager record has not been updated in over a year.
- 信息: No cached GitHub release or tag data was available.

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Beta: 1.1.0-beta.0, Latest: 1.3.4
- **Version Count:** 13
- **Maintainers:** kazushisan
- **Author:** Kazushi Konosu
- **Publisher:** kazushisan
- **Peer Dependencies:** typescript
- **Integrity:** sha512-VHGK2GNokLaQ2OXdL4kE8+U9Dn6EWmDEZ/HdoFCnOoyR6ZFxi0QdzshPs7ZJ1xY9lfi+pQ0hZI5fLZAHZIJ+GA==
- **Shasum:** 725e5ef6a55cec9a5433e4e075f6737872476432
- **Unpacked Size:** 83,384
- **File Count:** 0
- **Created At:** 2013-05-24T14:56:05.424Z
- **Latest Published At:** 2025-01-08T08:28:07.844Z
- **Modified At:** 2025-01-08T08:28:08.273Z


## 相关链接

- [Web development packages](https://pkg.so/zh-hans/web-dev-tools/) - Matched curated package taxonomy and local package facts.
- [tsc-baseline](https://pkg.so/zh-hans/npm/tsc-baseline/) - Local package facts share a topical domain. Shared terms: cli, code, code-generation, developer, developer-tools.
- [tsdx](https://pkg.so/zh-hans/npm/tsdx/) - Local package facts share a topical domain. Shared terms: cli, code, code-generation, developer, developer-tools.
- [skott](https://pkg.so/zh-hans/npm/skott/) - Local package facts share a topical domain. Shared terms: cli, code, code-generation, developer, developer-tools.

## 来源

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