# Install typescript with Homebrew, apk, chocolatey, dnf, MacPorts, Nix, pacman, zypper

Language for application scale JavaScript development. Version 6.0.3 via Homebrew; verified 2026-06-14.

## Install

```sh
sudo av install brew:typescript
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install typescript
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install typescript
```

  Evidence: MacPorts ports tree: lang/typescript/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add typescript
```

  Evidence: Alpine Linux edge package indexes: typescript from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install typescript
```

  Evidence: Fedora Rawhide package metadata: typescript from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#typescript
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ty/typescript/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S typescript
```

  Evidence: Arch Linux sync databases: typescript from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install typescript
```

  Evidence: openSUSE Tumbleweed package metadata: typescript from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install typescript
```

  Evidence: Chocolatey community package catalog: typescript from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','timberwinr'

## Package facts

- **Package key:** brew:typescript
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/typescript>
- **Version:** 6.0.3
- **Source summary:** Language for application scale JavaScript development
- **Homepage:** <https://www.typescriptlang.org/>
- **Repository:** <https://github.com/microsoft/TypeScript>
- **Upstream docs:** <https://github.com/microsoft/TypeScript#readme>
- **License:** Apache-2.0
- **Source archive:** <https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz>
- **Last updated:** 2026-06-14T15:13:53+02:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- tsc (cli)
- tsserver (cli)
- tsc (alias)
- tsserver (alias)

## Dependencies

- node

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 6.0.3
- Package-manager updated: 2026-06-14
- Local data: ok
- Upstream repository: https://www.typescriptlang.org/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

TypeScript is Microsoft's typed superset of JavaScript. It adds type syntax and tooling on top of JavaScript, then emits plain JavaScript for execution, making it both a programming language and a compiler/language-service package.

### Project history

Microsoft introduced TypeScript publicly with TypeScript 0.8 in October 2012 and released TypeScript 1.0 on April 2, 2014. The 1.0 announcement described a year and a half of community growth around large-scale JavaScript applications, declaration files, Visual Studio tooling, npm distribution, and source availability.

The 1.0 release also marked an opening toward external contributions: Microsoft announced that the compiler and language service would begin accepting pull requests. Later official release writing noted that the repository moved to GitHub around the 1.1 era to encourage community engagement and collaboration.

By TypeScript 2.0 in September 2016, Microsoft described the project as a broader language, tooling, and community ecosystem. The 2.0 announcement highlighted ECMAScript alignment, JavaScript library support, the language service, Angular 2 adoption, strict null checking, and the move from separate declaration-file package managers toward the scoped `@types` npm workflow.

In the 5.x and 6.x era, TypeScript remained both a compiler package and the core of editor tooling. Microsoft release posts continue to emphasize type-checking, editor services such as completion, navigation, and refactors, and npm as the standard distribution path. The 2025 native TypeScript announcement opened a new performance-focused chapter by previewing a native-code port of the compiler and toolset.

### Adoption history

TypeScript adoption grew through the combination of npm packaging, Visual Studio and VS Code integration, declaration files for JavaScript libraries, and framework adoption. The TypeScript 2.0 announcement said npm downloads had grown from 275,000 in one month to more than 2 million in the comparable month the following year, and described DefinitelyTyped as a central community asset with thousands of libraries and contributors.

Angular 2 adoption was an important early framework milestone because it validated TypeScript for a major JavaScript application framework. Over time, TypeScript became a default choice for application-scale JavaScript, library authoring, frontend frameworks, backend Node.js services, and editor-powered JavaScript development.

### How it is used

Package users install TypeScript primarily for the `tsc` compiler and `tsserver` language service. `tsc` type-checks projects and emits JavaScript, while `tsserver` powers editor intelligence such as completions, navigation, quick fixes, rename, refactors, and inlay information.

In package-manager culture, TypeScript is almost always paired with `tsconfig.json`, npm scripts, editor plugins, declaration packages under `@types/*`, and build tools that either call `tsc` directly or use TypeScript syntax through bundlers and transpilers.

### Why package nerds care

TypeScript is one of the defining package-manager-era developer tools. It made a compiler and language service a normal dev dependency, pushed type declarations into the npm package graph, and helped make editor feedback, CI type checks, and generated JavaScript build artifacts routine parts of JavaScript packages.

For Homebrew and distro users, the formula is also a convenient way to install the global `tsc` and `tsserver` binaries outside a single npm project, useful for editors, scripts, and system-level developer environments.

### Timeline

- 2012: TypeScript 0.8 introduced the language publicly.
- 2014: TypeScript 1.0 shipped with Visual Studio, npm, and source distribution.
- 2014: The compiler and language service began opening to pull requests, and the project moved toward GitHub collaboration.
- 2016: TypeScript 2.0 shipped with strict null checking, ECMAScript alignment, language-service improvements, and the `@types` npm workflow.
- 2025: Microsoft announced native TypeScript work aimed at large performance gains for the compiler and toolset.
- 2026: TypeScript 6.0 release artifacts continued the npm-centered release model.

### Related projects

- Related projects include JavaScript, ECMAScript, Node.js, npm, DefinitelyTyped, VS Code, Visual Studio, `tsserver`, TypeScript Language Server, Angular, Babel, esbuild, swc, and the native TypeScript Go implementation.

### Sources

- <https://devblogs.microsoft.com/typescript/a-10x-faster-typescript/>
- <https://devblogs.microsoft.com/typescript/announcing-typescript-1-0/>
- <https://devblogs.microsoft.com/typescript/announcing-typescript-2-0/>
- <https://github.com/microsoft/TypeScript#readme>
- <https://github.com/microsoft/TypeScript/releases>
- <https://www.typescriptlang.org/docs>
- source_facts.package-manager


## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: tsconfig.json
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** typescript
- **Aliases:** tsc
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Nix - typescript: normalized package name match | nixpkgs package indexes: pkgs/by-name/ty/typescript/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - typescript - 5.9.2-r0: normalized package name match | Alpine Linux edge package indexes: typescript from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | TypeScript is a superset of JavaScript that compiles to clean JavaScript output | https://www.typescriptlang.org/
- dnf - typescript - 6.0.2-1.fc45: normalized package name match | Fedora Rawhide package metadata: typescript from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A language for application-scale JavaScript | https://www.typescriptlang.org
- pacman - typescript - 6.0.3-1: normalized package name match | Arch Linux sync databases: typescript from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | JavaScript with syntax for types | http://www.typescriptlang.org
- zypper - typescript - 5.9.2-1.3: normalized package name match | openSUSE Tumbleweed package metadata: typescript from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A language for application scale JavaScript development | http://typescriptlang.org/
- MacPorts - typescript: normalized package name match | MacPorts ports tree: lang/typescript/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - typescript: normalized package name match | Chocolatey community package catalog: typescript from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','timberwinr'


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [node](https://www.automicvault.com/pkg/brew/node/) - Runtime dependency declared by Homebrew.
- [typescript-language-server](https://www.automicvault.com/pkg/brew/typescript-language-server/) - Popular package that depends on this formula.
- [coffeescript](https://www.automicvault.com/pkg/brew/coffeescript/) - Shares av.db curated category or tags: cli, compiler, javascript, language-runtime, programming-language.
- [purescript](https://www.automicvault.com/pkg/brew/purescript/) - Shares av.db curated category or tags: cli, compiler, javascript, language-runtime, programming-language.
- [algol68g](https://www.automicvault.com/pkg/brew/algol68g/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language.
- [ats2-postiats](https://www.automicvault.com/pkg/brew/ats2-postiats/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language.
- [ballerina](https://www.automicvault.com/pkg/brew/ballerina/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language.
- [chapel](https://www.automicvault.com/pkg/brew/chapel/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language.
- [coconut](https://www.automicvault.com/pkg/brew/coconut/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language.
- [crystal](https://www.automicvault.com/pkg/brew/crystal/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language.

## Combined YAML source

View the package source record on GitHub. [combined/typescript.yml](https://github.com/automic-vault/db/blob/main/combined/typescript.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
