# Install tsx with npm

TypeScript Execute (tsx): Node.js enhanced with esbuild to run TypeScript & ESM files. Version 4.23.1 via npm; verified 2026-07-13. Also installable with nix: nix profile install nixpkgs#tsx.

## Install

```sh
sudo av install npm:tsx
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g tsx
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:tsx
- **Package manager:** npm
- **Version:** 4.23.1
- **Source summary:** TypeScript Execute (tsx): Node.js enhanced with esbuild to run TypeScript & ESM files
- **Homepage:** <https://tsx.hirok.io>
- **Last updated:** 2026-07-13T03:13:33.471Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- tsx (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 4.23.1

## Security Notes

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


## Other Package-Manager Records

- Nix - tsx: normalized package name match | nixpkgs package indexes: pkgs/by-name/ts/tsx/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - tsx: normalized package name match | MacPorts ports tree: devel/tsx/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Sources

- pkg.so package database
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
