Skip to content

Commit

Permalink
chore(docs): use code-group for package managers
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanshatford committed Apr 4, 2024
1 parent b1793ca commit b5c55d8
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,20 @@ description: Installing @hey-api/openapi-ts.

# Installation

```sh
::: code-group
```sh [npm]
npm install @hey-api/openapi-ts --save-dev
```

or

```sh
```sh [pnpm]
pnpm add @hey-api/openapi-ts -D
```
```sh [yarn]
yarn add @hey-api/openapi-ts -D
```

or

```sh
pnpm add @hey-api/openapi-ts -D
```sh [bun]
bun add @hey-api/openapi-ts -D
```
:::

If you want to use `openapi-ts` with CLI, add a script to your `package.json` file

Expand Down

0 comments on commit b5c55d8

Please sign in to comment.