---
# System prepended metadata

title: ts-node を使う TypeScript Node.js　2021-05-15
tags: [TypeScript, Node.js, ts-node]

---

---
lang: ja-jp
breaks: true
---
# ts-node を使う TypeScript Node.js　2021-05-15

> TypeStrong/ts-node
> https://github.com/TypeStrong/ts-node

## Installation

```shell=
Installation
# Locally in your project.
npm install -D typescript
npm install -D ts-node

# Or globally with TypeScript.
npm install -g typescript
npm install -g ts-node
```

## Usage

```shell=
# Execute a script as `node` + `tsc`.
ts-node script.ts
```

###### tags: `TypeScript` `Node.js` `ts-node`
