// Node.js 22+ / ESM. Install: npm install guplet-sdk // Set GUPLET_TOKEN to your team's API key before running. import { Client } from "guplet-sdk"; const client = new Client(); const gup = await client.create({ kind: "microvm", os: "ubuntu-24.04", size: "s", ttl: 300, wait: true, }); try { const result = await gup.run("printf 42"); console.log(result.stdout); // 42 } finally { await gup.kill(); }