pkg.soopen package index

brew / 排名 1061

使用 Homebrew, apk, chocolatey, dnf, MacPorts, Nix, pacman, zypper 安装 typescript

查看 typescript 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install typescript

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install typescript

MacPorts ports tree · lang/typescript/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add typescript

Alpine Linux edge package indexes · typescript · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install typescript

Fedora Rawhide package metadata · typescript · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#typescript

nixpkgs package indexes · pkgs/by-name/ty/typescript/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S typescript

Arch Linux sync databases · typescript · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install typescript

openSUSE Tumbleweed package metadata · typescript · 来源: download.opensuse.org

概览

软件包摘要

Language for application scale JavaScript development

命令和别名

  • tsc

历史

项目历史与用法

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.

安全态势

风险级别:blue

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

风险分类器

blue 风险 · 中 置信度 · tool

原因

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

信号

  • text:server

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Unix
tsconfig.json

可执行文件

已安装的可执行文件

命令类型暴露范围备注
tsc可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本7.0.2
管理器更新时间2026-07-09
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:typescript
版本7.0.2
软件包管理器Homebrew
主页https://www.typescriptlang.org/
最后更新2026-07-09T20:09:44Z
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

typescript

nix profile install nixpkgs#typescript
  • normalized package name match
  • 匹配方式:Typescript
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ty/typescript/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

typescript 5.9.2-r0

TypeScript is a superset of JavaScript that compiles to clean JavaScript output

https://www.typescriptlang.org/

sudo apk add typescript
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: typescript
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Typescript
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: typescript from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

typescript 6.0.2-2.fc45

A language for application-scale JavaScript

https://www.typescriptlang.org

sudo dnf install typescript
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: typescript
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Typescript
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: typescript from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
pacman95%

typescript 6.0.3-1

JavaScript with syntax for types

http://www.typescriptlang.org

sudo pacman -S typescript
  • License: Apache-2.0
  • Architecture: any
  • 1 依赖
  • normalized package name match
  • 匹配方式:Typescript
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: typescript from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

typescript 5.9.2-1.4

A language for application scale JavaScript development

http://typescriptlang.org/

sudo zypper install typescript
  • License: Apache-2.0
  • Category: Development/Libraries/Other
  • Architecture: noarch
  • Source Package: typescript
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Typescript
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: typescript from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
MacPorts95%

typescript

sudo port install typescript
  • normalized package name match
  • 匹配方式:Typescript
MacPorts ports tree · api.github.com · MacPorts ports tree: lang/typescript/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

typescript

choco install typescript
  • normalized package name match
  • 匹配方式:Typescript
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: typescript from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','trafficlight-chrome'

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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