> For the complete documentation index, see [llms.txt](https://yamoo9.gitbook.io/typescript/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://yamoo9.gitbook.io/typescript/cli-env/tsdx.md).

# TSDX

## 소개

TSDX는 최신 TypeScript 개발 및 테스트, 배포 하는 데 도움이 되는 제로(Zero) 구성 CLI 도구입니다. 손쉽게 설치해 사용할 수 있어 구성에 시간을 낭비하지 않고, 개발에 더욱 더 집중할 수 있습니다.

![](/files/-MO-LdmliQEqElnYOK8K)

## 설치

TSDX를 사용하면  몇 초만에 새로운 TypeScript 프로젝트를 신속하게 부트 스트랩(Bootstrap) 할 수 있습니다. 터미널을 연 후 다음의 명령을 입력하면 설치가 진행됩니다.

```bash
npx tsdx create <프로젝트_이름>
```

이어서 다음의 3가지 프로젝트 템플릿 중 하나를 선택하라는 메시지가 표시됩니다.

| 템플릿                    | 설명                                                                           |
| ---------------------- | ---------------------------------------------------------------------------- |
| `basic`                | 모든 종류의 모듈에 사용 가능한 기본적인 TypeScript 프로젝트 템플릿입니다.                               |
| `react`                | React 개발에 필요한 의존 패키지, `@types`가 설치되는 프로젝트 템플릿입니다.                            |
| `react-with-storybook` | `react` 템플릿과 동일하지만, [Storybook](https://storybook.js.org/)이 설치된 프로젝트 템플릿입니다. |

템플릿 중 하나를 선택해 TSDX를 설치하면 프로젝트 템플릿이 포함된 폴더를 만들고 모든 종속성 패키지를 설치합니다. 설치가 완료되면 TypeScript, [Rollup](https://rollupjs.org), [Jest](https://jestjs.io/), [ESlint](https://eslint.org/) 및 기타 도구가 설정되어 바로 사용할 수 있습니다.

## 명령어 목록

| 명령어         | 설명 |
| ----------- | -- |
| `npm start` |    |

## 참고

{% embed url="<https://tsdx.io/>" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://yamoo9.gitbook.io/typescript/cli-env/tsdx.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
