# 使用 npm 安装 gtts

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

## 安装

```sh
sudo av install npm:gtts
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g gtts
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:gtts
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/gtts>
- **版本:** 0.2.1
- **来源摘要:** a ported version of gTTS python library which is a interface to Google's Text to Speech API
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/gtts/-/gtts-0.2.1.tgz>
- **发布时间:** 2016-07-05T03:58:01.007Z
- **最后更新:** 2016-07-05T03:58:01.007Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- gtts (cli)
- gtts (别名)

## 依赖

- async
- escape-string-regexp
- multistream
- request
- yargs

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.2.1
- 管理器更新时间: 2016-07-05
- 本地数据: OK
- 警告: The package-manager record has not been updated in over a year.
- 信息: No upstream repository was available in local package data.

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 0.2.1
- **Version Count:** 4
- **Maintainers:** olragon
- **Author:** Long Nguyen
- **Publisher:** olragon
- **Integrity:** sha512-kqfT+yiwi0J88DSgXUfeOSpYRz8HcUS6YF+1mZcu92PCl3/zyCLc28yJZeizTpvB6zSRlkz4Lro8dJs3XXPl+g==
- **Shasum:** af2f43d6dba567cb15bc817fe8ad15c42000ffd2
- **File Count:** 0
- **Created At:** 2016-01-26T05:12:03.420Z
- **Latest Published At:** 2016-07-05T03:58:01.007Z
- **Modified At:** 2022-06-18T16:27:35.174Z

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

- Debian apt - python3-gtts - 2.5.4-1: normalized package name match | Debian stable package indexes: python3-gtts from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Wrapper and CLI utility for the Google TTS (Text-to-Speech) API (Python 3) | https://gtts.readthedocs.io/
- Ubuntu apt - python3-gtts - 2.5.1-1: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-gtts from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Wrapper and CLI utility for the Google TTS (Text-to-Speech) API (Python 3) | https://gtts.readthedocs.io/
- dnf - gtts - 2.5.4-9.fc45: normalized package name match | Fedora Rawhide package metadata: gtts from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Create an mp3 file from spoken text via the Google TTS API | https://github.com/pndurette/gTTS
- dnf - python3-gtts - 2.5.4-9.fc45: normalized package name match | Fedora Rawhide package metadata: python3-gtts from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Library for Python 3 to communicate with the Google gtts | https://github.com/pndurette/gTTS


## 相关链接

- [Media and graphics packages](https://pkg.so/zh-hans/media-graphics-tools/) - Matched curated package taxonomy and local package facts.
- [node-gtts](https://pkg.so/zh-hans/npm/node-gtts/) - Local package facts share a topical domain. Shared terms: api, async, cli, escape, escape-string-regexp.
- [gspeak](https://pkg.so/zh-hans/npm/gspeak/) - Local package facts share a topical domain. Shared terms: cli, google, gtts, media, speech.
- [node-edge-tts](https://pkg.so/zh-hans/npm/node-edge-tts/) - Local package facts share a topical domain. Shared terms: cli, is, media, speech, text.

## 来源

- 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
