# tsx

> TypeScript Execute (tsx): a CLI for running TypeScript files directly in Node.js.

Stars: 12.2k · Language: TypeScript · License: MIT · Categories: Dev Tools

- Repository: https://github.com/privatenumber/tsx
- Website: https://tsx.hirok.io
- Page: https://www.trmn.sh/tools/tsx

## Overview

tsx (TypeScript Execute) is a command-line tool for running TypeScript files in Node.js. It is distributed as an npm package and works as a drop-in replacement for the `node` command, so TypeScript sources can be executed directly without a separate compile step.

It is aimed at JavaScript and TypeScript developers who want to run scripts, tools, or application entry points written in TypeScript. The README itself is brief and points to the external documentation site (tsx.hirok.io) and its getting-started guide for usage details, configuration, and the full feature list.

## Alternatives

- [npm-check-updates](https://www.trmn.sh/tools/npm-check-updates.md): CLI that upgrades package.json dependencies to their latest versions, preserving semver range operators. Works with npm, yarn, pnpm, deno, and bun. (TypeScript, 10.3k stars)
- [Vercel CLI](https://www.trmn.sh/tools/vercel-cli.md): Command-line interface for the Vercel platform: deploy projects, run them locally with vercel dev, and manage deployments from the terminal. (TypeScript, 16.5k stars)
- [concurrently](https://www.trmn.sh/tools/concurrently.md): Node.js CLI that runs multiple shell commands in parallel with prefixed, colored output and options to kill or restart processes. Works on Windows. (TypeScript, 7.9k stars)
- [Supabase CLI](https://www.trmn.sh/tools/supabase-cli.md): Runs the Supabase stack locally, manages Postgres migrations, deploys Edge Functions, and generates TypeScript types from your database schema. (TypeScript, 2.4k stars)
- [Angular CLI](https://www.trmn.sh/tools/angular-cli.md): Command-line tool for creating, serving, scaffolding, and maintaining Angular applications and workspaces via the ng command. (TypeScript, 27.0k stars)

---

Canonical: https://www.trmn.sh/tools/tsx
