Develop/study

TypeSript #1

2022. 7. 13. 14:02

#1 환경 구성

node 환경을 설치하거나, MS VS에 내장되어 있지않으면, 추가 플러그인을 설치하면 되는데,

VS는 유료이니 패스 .. .

1.노드 설치

https://nodejs.org/ko/download/

 

다운로드 | Node.js

Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.

nodejs.org

 

2. TypeScript 설치

https://www.typescriptlang.org/download

 

How to set up TypeScript

Add TypeScript to your project, or install TypeScript globally

www.typescriptlang.org

 

 

via npm

TypeScript is available as a package on the npm registry available as "typescript".

You will need a copy of Node.js as an environment to run the package.

Then you use a dependency manager like npm, yarn or pnpm to download TypeScript into your project.

npm install typescript --save-dev​


All of these dependency managers support lockfiles, ensuring that everyone on your team is using the same version of the language. You can then run the TypeScript compiler using one of the following commands:

npx tsc

 

반응형

'Develop > study' 카테고리의 다른 글

WSL에서 Rust 설치  (0) 2024.01.25
[Hyper-v] Zorin OS  (0) 2023.02.05
RUST #1 at WSL  (0) 2022.09.27
Ubuntu 22.04 .NET 6 설치  (0) 2022.08.18