How to use the Temporal TypeScript SDK
To download the latest version of the Temporal TypeScript Command, run the following command:
npm i @temporalio/client @temporalio/worker @temporalio/workflow @temporalio/activity
Or clone the TypeScript SDK repo to your preferred location:
git clone git@github.com:temporalio/sdk-typescript.git
This project requires Node.js 14 or later.
note
Both TypeScript and JavaScript can be used with the TypeScript SDK.
Create a new project
npx @temporalio/create@latest ./your-app
Add to an existing project
npm install @temporalio/client @temporalio/worker @temporalio/workflow @temporalio/activity @temporalio/common