# @types/yargs

> TypeScript definitions for yargs

Latest version **17.0.35** (published 2025-11-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/yargs
pnpm add @types/yargs
yarn add @types/yargs
bun add @types/yargs
```

## Health

**Score 70/100 (B)** — status: stable.

Positive: has types; esm support; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 17.0.35 |
| Published | 2025-11-14 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 59 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51438 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/yargs
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/yargs
- npm.io page: https://npm.io/package/@types/yargs

## Dependencies (1)

- [@types/yargs-parser](https://npm.io/package/@types/yargs-parser.md) *

## Recent versions

- 17.0.35 (latest) — 2025-11-14
- 17.0.33 (ts4.9) — 2024-08-06
- 17.0.32 (ts4.5) — 2023-11-21
- 17.0.24 (ts4.3) — 2023-03-27
- 17.0.22 (ts4.2) — 2023-01-31
- 17.0.15 (ts4.1) — 2022-11-28
- 17.0.12 (ts4.0) — 2022-08-29
- 17.0.10 (ts3.9) — 2022-03-17
- 17.0.8 (ts3.8) — 2021-12-23
- 17.0.7 (ts3.7) — 2021-11-18
- 17.0.2 (ts3.6) — 2021-07-05
- 17.0.0 (ts3.5) — 2021-05-21
- 16.0.0 (ts3.4) — 2021-01-29
- 15.0.12 (ts3.3) — 2020-12-15
- 15.0.10 (ts3.2) — 2020-11-18
- … 140 more at https://npm.io/package/@types/yargs/versions

## README

# Installation
> `npm install --save @types/yargs`

# Summary
This package contains type definitions for yargs (https://github.com/chevex/yargs).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/yargs.

### Additional Details
 * Last updated: Fri, 14 Nov 2025 18:02:08 GMT
 * Dependencies: [@types/yargs-parser](https://npmjs.com/package/@types/yargs-parser)

# Credits
These definitions were written by [Martin Poelstra](https://github.com/poelstra), [Mizunashi Mana](https://github.com/mizunashi-mana), [Jeffery Grajkowski](https://github.com/pushplay), [Jimi (Dimitris) Charalampidis](https://github.com/JimiC), [Steffen Viken Valvåg](https://github.com/steffenvv), [Emily Marigold Klassen](https://github.com/forivall), [ExE Boss](https://github.com/ExE-Boss), [Aankhen](https://github.com/Aankhen), and [Ben Coe](https://github.com/bcoe).

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