# Install typescript with npm

TypeScript is a language for application scale JavaScript development. Version 7.0.2 via npm; verified 2026-07-08. Also installable with nix: nix profile install nixpkgs#typescript.

## Install

```sh
sudo av install npm:typescript
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g typescript
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:typescript
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/typescript>
- **Version:** 7.0.2
- **Source summary:** TypeScript is a language for application scale JavaScript development
- **Homepage:** <https://www.typescriptlang.org/>
- **Repository:** <https://github.com/microsoft/TypeScript>
- **Upstream docs:** <https://www.typescriptlang.org/>
- **License:** Apache-2.0
- **Source archive:** <https://registry.npmjs.org/typescript/-/typescript-7.0.2.tgz>
- **Issue tracker:** <https://github.com/microsoft/TypeScript/issues>
- **Published:** 2026-07-08T15:55:18.431Z
- **Last updated:** 2026-07-08T15:55:18.431Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- tsc (cli)

## Dependencies

- @typescript/typescript-aix-ppc64
- @typescript/typescript-darwin-arm64
- @typescript/typescript-darwin-x64
- @typescript/typescript-freebsd-arm64
- @typescript/typescript-freebsd-x64
- @typescript/typescript-linux-arm
- @typescript/typescript-linux-arm64
- @typescript/typescript-linux-loong64
- @typescript/typescript-linux-mips64el
- @typescript/typescript-linux-ppc64
- @typescript/typescript-linux-riscv64
- @typescript/typescript-linux-s390x
- @typescript/typescript-linux-x64
- @typescript/typescript-netbsd-arm64
- @typescript/typescript-netbsd-x64
- @typescript/typescript-openbsd-arm64
- @typescript/typescript-openbsd-x64
- @typescript/typescript-sunos-x64
- @typescript/typescript-win32-arm64
- @typescript/typescript-win32-x64

## Install behavior

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

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 7.0.2
- Package-manager updated: 2026-07-08
- Local data: ok
- Upstream repository: https://github.com/microsoft/TypeScript
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for typescript. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Beta: 6.0.0-beta, Dev: 3.9.4, Insiders: 4.6.2-insiders.20220225, Latest: 7.0.2, Next: 7.1.0-dev.20260803.1, Rc: 7.0.1-rc, Tag For Publishing Older Releases: 4.1.6
- **Version Count:** 3,785
- **Maintainers:** microsoft1es, typescript-bot, weswigham, andrewbranch, typescript-deploys, microsoft-oss-releases, jakebailey
- **Author:** Microsoft Corp.
- **Publisher:** microsoft1es
- **Engines:** Node: >=16.20.0
- **Optional Dependencies:** @typescript/typescript-aix-ppc64, @typescript/typescript-darwin-arm64, @typescript/typescript-darwin-x64, @typescript/typescript-freebsd-arm64, @typescript/typescript-freebsd-x64, @typescript/typescript-linux-arm, @typescript/typescript-linux-arm64, @typescript/typescript-linux-loong64, @typescript/typescript-linux-mips64el, @typescript/typescript-linux-ppc64, @typescript/typescript-linux-riscv64, @typescript/typescript-linux-s390x, @typescript/typescript-linux-x64, @typescript/typescript-netbsd-arm64, @typescript/typescript-netbsd-x64, @typescript/typescript-openbsd-arm64, @typescript/typescript-openbsd-x64, @typescript/typescript-sunos-x64, @typescript/typescript-win32-arm64, @typescript/typescript-win32-x64
- **Integrity:** sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA==
- **Shasum:** 9ec773d7954a8c182c17cc5bbd575aa28bc51582
- **Unpacked Size:** 2,497,498
- **File Count:** 0
- **Created At:** 2012-10-01T15:35:39.553Z
- **Latest Published At:** 2026-07-08T15:55:18.431Z
- **Modified At:** 2026-08-03T08:17:15.876Z

## 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-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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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'


## Related links

- [Language runtime packages](https://pkg.so/language-runtime-packages/) - Matched curated package taxonomy and local package facts.
- [typescript](https://pkg.so/brew/typescript/) - Same normalized package name appears in another local ecosystem. Shared terms: compiler, development, javascript, language, scale.
- [rome](https://pkg.so/npm/rome/) - Both packages touch the same language runtime or ecosystem. Shared terms: arm64, darwin, is, javascript, linux.
- [typescript-language-server](https://pkg.so/brew/typescript-language-server/) - Both packages touch the same language runtime or ecosystem. Shared terms: javascript, language, typescript.
- [typescript](https://pkg.so/brew/typescript/) - Same normalized package name exists in another local package ecosystem.

## Sources

- pkg.so package database
- package-page enrichment
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
