Version: Deno 2.6.2
deno x should have a parameter for specifying the package to use for the binary, or the binary to execute from a package when a package exposes multiple binaries.
For example, given the package typescript, deno x typescript fails with:
error: Unable to choose binary for typescript
Available bins:
tsc
tsserver
npx and pnpx both offer a way for declaring the package to use and the binary to execute.
npx -p typescript@5 tsc
pnpx -p typescript@5 tsc
deno x could follow same convention.