# 使用 npm 安装 tsx

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

## 安装

```sh
sudo av install npm:tsx
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g tsx
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:tsx
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/tsx>
- **版本:** 4.23.1
- **来源摘要:** TypeScript Execute (tsx): Node.js enhanced with esbuild to run TypeScript & ESM files
- **主页:** <https://tsx.hirok.io>
- **仓库:** <https://github.com/privatenumber/tsx>
- **上游文档:** <https://tsx.hirok.io>
- **许可证:** MIT
- **问题跟踪器:** <https://github.com/privatenumber/tsx/issues>
- **发布时间:** 2026-07-13T03:13:33.471Z
- **最后更新:** 2026-07-13T03:13:33.471Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- tsx (cli)
- tsx (别名)

## 安装行为

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

## 版本和新鲜度

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

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 4.23.1
- **Version Count:** 132
- **Maintainers:** hirokiosame
- **Author:** Hiroki Osame
- **File Count:** 0
- **Created At:** 2015-08-20T01:25:39.249Z
- **Latest Published At:** 2026-07-13T03:13:33.471Z
- **Modified At:** 2026-07-13T03:13:33.471Z

## 其他软件包管理器记录

- Nix - tsx: normalized package name match | nixpkgs package indexes: pkgs/by-name/ts/tsx/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - tsx: normalized package name match | MacPorts ports tree: devel/tsx/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Web development packages](https://pkg.so/zh-hans/web-dev-tools/) - Matched curated package taxonomy and local package facts.
- [sass-embedded](https://pkg.so/zh-hans/npm/sass-embedded/) - Both packages touch the same language runtime or ecosystem. Shared terms: build, build-tools, cli, developer, developer-tools.
- [ts-node-dev](https://pkg.so/zh-hans/npm/ts-node-dev/) - Both packages touch the same language runtime or ecosystem. Shared terms: build, build-tools, cli, developer, developer-tools.
- [tsup](https://pkg.so/zh-hans/npm/tsup/) - Both packages touch the same language runtime or ecosystem. Shared terms: build, build-tools, cli, developer, developer-tools.

## 来源

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