Skip to main content

Prerequisites

Before installing tfts, ensure you have the following requirements met:
  • Node.js: Version 18 or higher.
  • Terraform CLI: Installed and available in your system PATH.
  • TypeScript: Version 5.0 or higher is recommended.

Installing the SDK

You can install tfts using your preferred package manager.

Verifying Installation

To verify that tfts is installed correctly, you can check the version of the CLI:
If you are using Bun:

TypeScript Configuration

tfts relies on modern TypeScript features. We recommend the following settings in your tsconfig.json:
tsconfig.json

ESM Module Setup

tfts is designed to work with ECMAScript Modules (ESM). Ensure your package.json includes the type: module field:
package.json