TSDX

Installation

Prerequisites

Before installing TSDX, you need to have bun installed.

Installing Bun

curl -fsSL https://bun.sh/install | bash
powershell -c "irm bun.sh/install.ps1 | iex"
npm install -g bun

Installing TSDX

bun add -g tsdx

After installing globally, you can create new projects from anywhere:

tsdx create mylib

Per-Project Installation

bun add -D tsdx

When installed per-project, use bunx to run commands:

bunx tsdx create mylib

One-off Usage (no installation)

You can use bunx to run TSDX without installing it:

bunx tsdx create mylib

Verifying Installation

Check that TSDX is installed correctly:

tsdx --version

Or with bunx:

bunx tsdx --version

Next Steps

Once installed, you're ready to create your first project.

On this page