# Install gtts with npm

a ported version of gTTS python library which is a interface to Google's Text to Speech API. Version 0.2.1 via npm; verified 2016-07-05. Also installable with debian: sudo apt install python3-gtts.

## Install

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

Additional install commands:

### Portable and language managers

- npm (100%):

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

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:gtts
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/gtts>
- **Version:** 0.2.1
- **Source summary:** a ported version of gTTS python library which is a interface to Google's Text to Speech API
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/gtts/-/gtts-0.2.1.tgz>
- **Published:** 2016-07-05T03:58:01.007Z
- **Last updated:** 2016-07-05T03:58:01.007Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- gtts (cli)
- gtts (alias)

## Dependencies

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

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 0.2.1
- Package-manager updated: 2016-07-05
- Local data: ok
- warning: The package-manager record has not been updated in over a year.
- info: No upstream repository was available in local package data.

## Security Notes

No matching local secret-handling manifest was found for gtts. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **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

## Other Package-Manager Records

- 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


## Related links

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

## Sources

- 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
