Installation
System Requirements
Section titled “System Requirements”Minimum Requirements
Section titled “Minimum Requirements”| Component | Requirement |
|---|---|
| OS | Linux, macOS, Windows |
| Rust | 1.90+ |
| Memory | 4 GB RAM |
| Disk | 2 GB free space |
Recommended
Section titled “Recommended”| Component | Requirement |
|---|---|
| Rust | 1.91 (latest) |
| Memory | 8 GB RAM |
| CPU | Multi-core processor |
Installing Rust
Section titled “Installing Rust”If you don’t have Rust installed:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shSet the correct toolchain version:
rustup default 1.90Add the WASM target for building components:
rustup target add wasm32-wasip2Installing GTC CLI
Section titled “Installing GTC CLI”cargo install greentic-cligit clone https://github.com/greenticai/greentic.gitcd greentic/greenticcargo build --release
# Add to PATHexport PATH="$PATH:$(pwd)/target/release"Download from GitHub Releases:
# macOS (Apple Silicon)curl -LO https://github.com/greenticai/greentic/releases/latest/download/gtc-darwin-arm64.tar.gztar -xzf gtc-darwin-arm64.tar.gzsudo mv gtc /usr/local/bin/
# macOS (Intel)curl -LO https://github.com/greenticai/greentic/releases/latest/download/gtc-darwin-x64.tar.gz
# Linux (x86_64)curl -LO https://github.com/greenticai/greentic/releases/latest/download/gtc-linux-x64.tar.gz
# Windows# Download gtc-windows-x64.zip from releasesVerify Installation
Section titled “Verify Installation”gtc --versionExpected output:
gtc 0.4.xOptional Dependencies
Section titled “Optional Dependencies”NATS (Message Bus)
Section titled “NATS (Message Bus)”For production deployments:
docker run -d --name nats -p 4222:4222 nats:latestbrew install nats-servernats-serverDownload from nats.io
Redis (Session Storage)
Section titled “Redis (Session Storage)”For production session persistence:
docker run -d --name redis -p 6379:6379 redis:alpinebrew install redisredis-serverNgrok/Cloudflared (Public URLs)
Section titled “Ngrok/Cloudflared (Public URLs)”For webhook-based providers (Telegram, Slack, etc.):
# Installbrew install ngrok/ngrok/ngrok # macOS# or download from https://ngrok.com/download
# Configurengrok config add-authtoken YOUR_TOKEN
# Runngrok http 8080# Installbrew install cloudflared # macOS# or download from https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/
# Runcloudflared tunnel --url http://localhost:8080Development Tools
Section titled “Development Tools”Pack Builder
Section titled “Pack Builder”Build .gtpack archives:
cargo install greentic-packFlow Validator
Section titled “Flow Validator”Validate flow definitions:
cargo install greentic-flowComponent Authoring
Section titled “Component Authoring”Create WASM components:
cargo install greentic-componentVerifying Your Setup
Section titled “Verifying Your Setup”Run the following to verify everything is working:
# Check GTC CLIgtc --help
# Check Rust WASM targetrustup target list --installed | grep wasm32-wasip2
# Create and run a test bundlegtc wizard --dry-runTroubleshooting
Section titled “Troubleshooting”Common Issues
Section titled “Common Issues”Error: “wasm32-wasip2 target not found”
rustup target add wasm32-wasip2Error: “Cannot connect to NATS”
# Start embedded NATS with gtc startgtc start ./my-bundle --nats onError: “Permission denied”
# On Linux/macOS, ensure binary is executablechmod +x /usr/local/bin/gtcNext Steps
Section titled “Next Steps”- Quick Start - Create your first digital worker
- Architecture Overview - Understand the platform