diff --git a/README.md b/README.md
index 87e21a47cc1db43b406e7f52dae6d101dd7f24d9..23284d2f430941ab495fa898708eef3a0ddaceb8 100644
--- a/README.md
+++ b/README.md
@@ -70,7 +70,7 @@ main();
 Then you can run it using
 
 ```bash
-pnpx ts-node example.ts
+pnpm dlx ts-node example.ts
 ```
 
 ## Playground
diff --git a/examples/chromadb/README.md b/examples/chromadb/README.md
index 5b1c6d7b2810363c05e0b13af3120c6f05adbd66..da7bd0a1e036adce8dacb00c7820153caf92d672 100644
--- a/examples/chromadb/README.md
+++ b/examples/chromadb/README.md
@@ -6,7 +6,7 @@ Export your OpenAI API Key using `export OPEN_API_KEY=insert your api key here`
 
 If you haven't installed chromadb, run `pip install chromadb`. Start the server using `chroma run`.
 
-Now, open a new terminal window and inside `examples`, run `pnpx ts-node chromadb/test.ts`.
+Now, open a new terminal window and inside `examples`, run `pnpm dlx ts-node chromadb/test.ts`.
 
 Here's the output for the input query `Tell me about Godfrey Cheshire's rating of La Sapienza.`: