# Install dtsroll with Homebrew

CLI tool for bundling TypeScript declaration files. Version 1.8.2 via Homebrew; verified 2026-05-04.

## Install

```sh
sudo av install brew:dtsroll
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install dtsroll
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:dtsroll
- **Package manager:** Homebrew
- **Version:** 1.8.2
- **Source summary:** CLI tool for bundling TypeScript declaration files
- **Homepage:** <https://github.com/privatenumber/dtsroll>
- **Last updated:** 2026-05-04T21:07:18Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- dtsroll (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.8.2
## Project history and usage

dtsroll is a TypeScript declaration-file bundler aimed at package authors. It runs after `tsc` emits `.d.ts` files and bundles declaration dependencies so published package types work for downstream consumers.

### Project history

The public repository and npm package appeared in January 2025. The README frames the project around a common TypeScript publishing failure: emitted declarations can preserve imports from private or development-only packages, leaving consumers with unresolved type references.

### Adoption history

dtsroll is early-stage but already has both npm and Homebrew distribution. Its npm registry metadata shows releases after the initial 2025 publication, and the Homebrew formula distributes the CLI from the npm tarball.

### How it is used

The default workflow is to run `dtsroll` after `tsc`. With no explicit entries, it reads `package.json`, finds declaration entry points from `types` or `exports`, bundles devDependency type imports into the emitted declarations, and leaves runtime dependencies external.

### Why package nerds care

dtsroll is package-nerd bait because it exists to fix packaging metadata fallout: `.d.ts` files are part of the package interface, and bad declaration imports break consumers even when runtime JavaScript is fine. It sits near tools such as `pkgroll` and `unplugin-dts` in the TypeScript library-publishing toolchain.

### Timeline

- 2025: Public privatenumber/dtsroll repository created.
- 2025: npm registry records initial dtsroll publication.
- 2025-2026: Homebrew formula distributes the CLI from npm release tarballs.

### Related projects

- The README explicitly lists `pkgroll` as a related zero-config JavaScript and DTS bundler and documents integration with `unplugin-dts` for Vite builds.

### Sources

- <https://github.com/privatenumber/dtsroll>
- <https://github.com/privatenumber/dtsroll#readme>
- <https://registry.npmjs.org/dtsroll>
- <https://formulae.brew.sh/api/formula/dtsroll.json>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## Combined YAML source

View the package source record on GitHub. [combined/dtsroll.yml](https://github.com/mxcl/pkgdb/blob/main/combined/dtsroll.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
