README.md•586 B
# Running phoenix-client Examples
To run the TypeScript examples in this directory, you need to have `tsx` installed globally. `tsx` allows you to run TypeScript files directly without compiling them first.
## Install tsx globally
```sh
pnpm install tsx -g
```
## Run an example
You can run any example TypeScript file using `tsx` like this:
```sh
tsx <example-file>.ts
```
For example, to run `run_experiment.ts`:
```sh
tsx run_experiment.ts
```
Make sure you are in the `examples` directory when running the command, or provide the correct relative path to the example file.