# Install chatgpt with npm

Node.js client for the official ChatGPT API. Version 5.2.5 via npm; verified 2023-05-31. Also installable with nix: nix profile install nixpkgs#chatgpt.

## Install

```sh
sudo av install npm:chatgpt
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g chatgpt
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:chatgpt
- **Package manager:** npm
- **Version:** 5.2.5
- **Source summary:** Node.js client for the official ChatGPT API.
- **Homepage:** <https://github.com/transitive-bullshit/chatgpt-api#readme>
- **Last updated:** 2023-05-31T02:42:18.048Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- chatgpt (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 5.2.5

## Security Notes

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


## Other Package-Manager Records

- Nix - chatgpt: normalized package name match | nixpkgs package indexes: pkgs/by-name/ch/chatgpt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Chocolatey - chatgpt: normalized package name match | Chocolatey community package catalog: chatgpt from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='7.1168','fonts-poppins'
- Scoop - extras/chatgpt: normalized package name match | Scoop official bucket manifest trees: bucket/chatgpt.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1
- winget - j178.ChatGPT: normalized package name match | Windows Package Manager source index: j178.ChatGPT from https://cdn.winget.microsoft.com/cache/source.msix
- winget - lencx.ChatGPT: normalized package name match | Windows Package Manager source index: lencx.ChatGPT from https://cdn.winget.microsoft.com/cache/source.msix
- winget - sonnylab.chatgpt: normalized package name match | Windows Package Manager source index: sonnylab.chatgpt from https://cdn.winget.microsoft.com/cache/source.msix


## Sources

- pkg.so package database
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
