Automic VaultAutomic Vault

brew

使用 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
  • tsserver

历史

项目历史与用法

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

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

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

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
tsccli全局可执行文件
tsservercli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-25
管理器版本7.0.2
管理器更新时间2026-07-09
本地数据OK
上游not checked
检测到的最新版本未检测到

https://www.typescriptlang.org/

安装元数据

软件包元数据

软件包键brew:typescript
版本7.0.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/typescript
主页https://www.typescriptlang.org/
仓库https://github.com/microsoft/TypeScript
上游文档https://github.com/microsoft/TypeScript#readme
许可证Apache-2.0
源码归档https://registry.npmjs.org/typescript/-/typescript-7.0.2.tgz
最后更新2026-07-09T20:09:44Z
Pulseupdated
依赖node
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametypescript
Aliases
  • tsc
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 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-1.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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-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.3

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/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-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','timberwinr'

来源线索

由仓库数据生成

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

使用的来源

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