# @twilio/cli-core

> Core functionality for the twilio-cli

Latest version **9.0.1** (published 2026-09-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install @twilio/cli-core
pnpm add @twilio/cli-core
yarn add @twilio/cli-core
bun add @twilio/cli-core
```

## Health

**Score 60/100 (C)** — status: active.

Positive: no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads; no types; no esm support; large bundle.

## Facts

| | |
|---|---|
| Version | 9.0.1 |
| Published | 2026-09-22 |
| First published | 2019-04-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=22.0.0 |
| Dependencies | 17 |
| Unpacked size | 12.5 MB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| Provenance | attested (GitHub Actions) |
| Author | Twilio @twilio |
| Maintainers | twilio-agent-connect-maintainers, twilio-supply-chain, twilio-dx |
| Keywords | twilio |

## Links

- npm: https://www.npmjs.com/package/@twilio/cli-core
- Repository: https://github.com/twilio/twilio-cli-core
- Issues: https://github.com/twilio/twilio-cli/issues
- npm.io page: https://npm.io/package/@twilio/cli-core

## Dependencies (17)

- [qs](https://npm.io/package/qs.md) ^6.9.4
- [tsv](https://npm.io/package/tsv.md) ^0.2.0
- [axios](https://npm.io/package/axios.md) ^1.19.0
- [chalk](https://npm.io/package/chalk.md) ^4.1.2
- [semver](https://npm.io/package/semver.md) ^7.5.2
- [twilio](https://npm.io/package/twilio.md) ^6.0.0
- [fs-extra](https://npm.io/package/fs-extra.md) ^9.0.1
- [inquirer](https://npm.io/package/inquirer.md) ^8.0.0
- [columnify](https://npm.io/package/columnify.md) ^1.5.4
- [proxyquire](https://npm.io/package/proxyquire.md) ^2.1.3
- [@oclif/core](https://npm.io/package/@oclif/core.md) ^1.16.0
- [@actions/core](https://npm.io/package/@actions/core.md) ^2.0.0
- [@octokit/rest](https://npm.io/package/@octokit/rest.md) ^21.1.1
- [@actions/github](https://npm.io/package/@actions/github.md) ^9.0.0
- [https-proxy-agent](https://npm.io/package/https-proxy-agent.md) ^5.0.0
- [@oclif/plugin-help](https://npm.io/package/@oclif/plugin-help.md) ^5.1.3
- [@oclif/plugin-plugins](https://npm.io/package/@oclif/plugin-plugins.md) 2.1.0

## Recent versions

- 9.0.1 (latest) — 2026-09-22
- 8.0.0-rc.1 (rc-release) — 2025-06-13
- 7.27.3-alpha1.1 (mvr-release-prep) — 2025-06-12
- 7.28.0-alpha.1 (cli-integration-test) — 2025-05-08
- 1.0.0-rc.1 (dii-1856) — 2025-05-07
- 5.27.1-rc.1 (release-feature-branch) — 2021-11-12
- 9.0.0 — 2026-09-18
- 8.3.4 — 2026-05-06
- 8.3.3 — 2026-03-24
- 8.3.2 — 2026-02-18
- 8.3.1 — 2026-01-07
- 8.3.0 — 2025-12-17
- 8.2.5 — 2025-12-08
- 8.2.4 — 2025-12-08
- 8.2.3 — 2025-11-20
- … 188 more at https://npm.io/package/@twilio/cli-core/versions

## README

# twilio-cli-core

[![Learn with TwilioQuest](https://img.shields.io/static/v1?label=TwilioQuest&message=Learn%20to%20contribute%21&color=F22F46&labelColor=1f243c&style=flat-square&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAASFBMVEUAAAAZGRkcHBwjIyMoKCgAAABgYGBoaGiAgICMjIyzs7PJycnMzMzNzc3UoBfd3d3m5ubqrhfrMEDu7u739/f4vSb/3AD///9tbdyEAAAABXRSTlMAAAAAAMJrBrEAAAKoSURBVHgB7ZrRcuI6EESdyxXGYoNFvMD//+l2bSszRgyUYpFAsXOeiJGmj4NkuWx1Qeh+Ekl9DgEXOBwOx+Px5xyQhDykfgq4wG63MxxaR4ddIkg6Ul3g84vCIcjPBA5gmUMeXESrlukuoK33+33uID8TWeLAdOWsKpJYzwVMB7bOzYSGOciyUlXSn0/ABXTosJ1M1SbypZ4O4MbZuIDMU02PMbauhhHMHXbmebmALIiEbbbbbUrpF1gwE9kFfRNAJaP+FQEXCCTGyJ4ngDrjOFo3jEL5JdqjF/pueR4cCeCGgAtwmuRS6gDwaRiGvu+DMFwSBLTE3+jF8JyuV1okPZ+AC4hDFhCHyHQjdjPHUKFDlHSJkHQXMB3KpSwXNGJPcwwTdZiXlRN0gSp0zpWxNtM0beYE0nRH6QIbO7rawwXaBYz0j78gxjokDuv12gVeUuBD0MDi0OQCLvDaAho4juP1Q/jkAncXqIcCfd+7gAu4QLMACCLxpRsSuQh0igu0C9Svhi7weAGZg50L3IE3cai4IfkNZAC8dfdhsUD3CgKBVC9JE5ABAFzg4QL/taYPAAWrHdYcgfLaIgAXWJ7OV38n1LEF8tt2TH29E+QAoDoO5Ve/LtCQDmKM9kPbvCEBApK+IXzbcSJ0cIGF6e8gpcRhUDogWZ8JnaWjPXc/fNnBBUKRngiHgTUSivSzDRDgHZQOLvBQgf8rRt+VdBUUhwkU6VpJ+xcOwQUqZr+mR0kvBUgv6cB4+37hQAkXqE8PwGisGhJtN4xAHMzrsgvI7rccXqSvKh6jltGlrOHA3Xk1At3LC4QiPdX9/0ndHpGVvTjR4bZA1ypAKgVcwE5vx74ulwIugDt8e/X7JgfkucBMIAr26ndnB4UCLnDOqvteQsHlgX9N4A+c4cW3DXSPbwAAAABJRU5ErkJggg==)](https://twil.io/learn-open-source)

This module contains core functionality for the twilio-cli.

## Requirements
Currently, Node 22+ is supported. We support the [LTS versions](https://nodejs.org/en/about/releases) of Node.

## Base commands

### BaseCommand

The base command class for _all_ twilio-cli commands. Includes support for configuration management, logging, and output formatting.

### TwilioClientCommand

A base command class for commands that need a Twilio client to make API requests. Handles loading credentials from the profile configuration.

## Services

### Output formats

Formatters to take a JSON array and write to the stdout. Current formatters include:

- Columns (default, human readable)
- JSON (raw API output)
- TSV

### CliRequestClient

A custom http client for the Twilio helper library to allow us to log API requests as well as modify the User-Agent header.

### Usage with proxy
 - `HTTP_PROXY`: If using Twilio CLI behind a proxy, set the URL of the proxy in an environment variable called `HTTP_PROXY`.
   

### Config

Manages the CLI configuration options, such as Twilio profiles and credentials.

### Logger

Standardizes logging output of debug, info, warning, and error messages to stderr (all go to stderr to allow differentiation between command output and logging messages).

---
_Source: https://npm.io/package/@twilio/cli-core · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
