العودة إلى الدورة

إعداد بيئة سطر الأوامر

احتراف البنية التحتية كبرمجيات (Terraform & OpenTofu)

The Lab Setup

To be an IaC master, you need a solid terminal setup. We recommend using Linux (Ubuntu/Debian) or macOS. If you are on Windows, use WSL2.

1. Install OpenTofu

You can install it via script: bash curl --proto '=https' --tlsv1.2 -fsSL https://get.opentofu.org/install-opentofu.sh -o install-opentofu.sh chmod +x install-opentofu.sh ./install-opentofu.sh --install-method standalone rm install-opentofu.sh

2. Verify Installation

bash tofu --version

3. Install a Code Editor

VS Code is the industry standard. Install the 'HashiCorp Terraform' extension for syntax highlighting.