macOS
brew install typescriptlocal Homebrew formula metadata
sudo port install typescriptMacPorts ports tree · lang/typescript/Portfile · 来源: api.github.com
安装
brew install typescriptlocal Homebrew formula metadata
sudo port install typescriptMacPorts ports tree · lang/typescript/Portfile · 来源: api.github.com
sudo apk add typescriptAlpine Linux edge package indexes · typescript · 来源: dl-cdn.alpinelinux.org
sudo dnf install typescriptFedora Rawhide package metadata · typescript · 来源: dl.fedoraproject.org
nix profile install nixpkgs#typescriptnixpkgs package indexes · pkgs/by-name/ty/typescript/package.nix · 来源: api.github.com
sudo pacman -S typescriptArch Linux sync databases · typescript · 来源: geo.mirror.pkgbuild.com
sudo zypper install typescriptopenSUSE Tumbleweed package metadata · typescript · 来源: download.opensuse.org
choco install typescriptChocolatey community package catalog · typescript · 来源: community.chocolatey.org
概览
Language for application scale JavaScript development
历史
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.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
tsconfig.json可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
tsc | cli | 全局可执行文件 | |
tsserver | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
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 |
| Pulse | updated |
| 依赖 | node |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | typescript |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
typescript
nix profile install nixpkgs#typescripttypescript 5.9.2-r0
TypeScript is a superset of JavaScript that compiles to clean JavaScript output
https://www.typescriptlang.org/
sudo apk add typescripttypescript 6.0.2-1.fc45
A language for application-scale JavaScript
https://www.typescriptlang.org
sudo dnf install typescripttypescript 6.0.3-1
JavaScript with syntax for types
sudo pacman -S typescripttypescript 5.9.2-1.3
A language for application scale JavaScript development
sudo zypper install typescripttypescript
sudo port install typescripttypescript
choco install typescript来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.