Skip to content

Commit 8a1cbe0

Browse files
rakannimerblakeembrey
authored andcommitted
Promote local install over global in README (#590)
1 parent 1063e28 commit 8a1cbe0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,17 @@
1010
## Installation
1111

1212
```sh
13+
# Locally in your project
14+
npm install -D ts-node
15+
npm install -D typescript
16+
17+
# Or globally (not recommended)
1318
npm install -g ts-node
1419
npm install -g typescript
1520
```
1621

22+
**Tip:** Installing modules locally allows you to control and share the versions through `package.json`.
23+
1724
## Features
1825

1926
* Execute TypeScript files with node

0 commit comments

Comments
 (0)