# typescript を Homebrew, apk, chocolatey, dnf, MacPorts, Nix, pacman, zypper でインストール

typescript のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install typescript
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install typescript
```

  証拠: 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
```

  証拠: 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
```

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

- Nix (92%):

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

  証拠: 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
```

  証拠: 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
```

  証拠: openSUSE Tumbleweed package metadata: typescript from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install typescript
```

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

## パッケージ情報

- **パッケージキー:** brew:typescript
- **パッケージマネージャ:** Homebrew
- **バージョン:** 7.0.2
- **ソース概要:** Language for application scale JavaScript development
- **ホームページ:** <https://www.typescriptlang.org/>
- **最終更新:** 2026-07-09T20:09:44Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- tsc (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 7.0.2
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

- 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.

### ソース

- <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


## セキュリティノート

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

- **Geiger リスク:** blue / 中
- 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
## 他のパッケージマネージャ記録

- 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-2.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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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.4: normalized package name match | openSUSE Tumbleweed package metadata: typescript from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-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','trafficlight-chrome'


## Combined YAML source

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


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
