From 629c2f229c76013931a28475bd7a24bd35d4553f Mon Sep 17 00:00:00 2001 From: Leonid Vinogradov Date: Sun, 1 Dec 2024 00:50:51 +0300 Subject: [PATCH 1/2] docs: update links to npx --- docs/getting-started.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index 127dfa6d3..f5455f22e 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -6,7 +6,7 @@ Before you can start using _tsx_, ensure that you have [Node.js installed](https ## Quickstart -`tsx` can be executed with [npx](https://docs.npmjs.com/cli/v8/commands/npx)—a tool to run npm packages without installing them. +`tsx` can be executed with [npx](https://docs.npmjs.com/cli/commands/npx/) — a tool to run npm packages without installing them. In your command-line, simply pass in a TypeScript file you'd like to run. It's that simple! @@ -67,7 +67,7 @@ In the `scripts` object, you can reference `tsx` directly without `npx`: ## Global installation -If you want to use `tsx` anywhere on your computer (without [`npx`](https://docs.npmjs.com/cli/v8/commands/npx)), install it globally: +If you want to use `tsx` anywhere on your computer (without [`npx`](https://docs.npmjs.com/cli/commands/npx/)), install it globally: ::: code-group ```sh [npm] From 7e1e387db7987c7c7551473c398e755955564007 Mon Sep 17 00:00:00 2001 From: Hiroki Osame Date: Mon, 2 Dec 2024 14:12:18 +0900 Subject: [PATCH 2/2] Update getting-started.md --- docs/getting-started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index f5455f22e..f212d5622 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -6,7 +6,7 @@ Before you can start using _tsx_, ensure that you have [Node.js installed](https ## Quickstart -`tsx` can be executed with [npx](https://docs.npmjs.com/cli/commands/npx/) — a tool to run npm packages without installing them. +`tsx` can be executed with [npx](https://docs.npmjs.com/cli/commands/npx/)—a tool to run npm packages without installing them. In your command-line, simply pass in a TypeScript file you'd like to run. It's that simple!