Migrate from Gambiarra
Migrate from Gambiarra
Section titled “Migrate from Gambiarra”The project is now called Gambi.
This is a hard rename of the public surfaces:
gambiarra->gambigambiarra-sdk->gambi-sdkcreateGambiarra()->createGambi()~/.gambiarra->~/.gambigambiarra-hub/_gambiarra->gambi-hub/_gambi
Gambi is the official abbreviation of gambiarra. If you want the naming background, read Why Gambi?.
Fastest migration
Section titled “Fastest migration”Linux / macOS
Section titled “Linux / macOS”curl -fsSL https://raw.githubusercontent.com/arthurbm/gambi/main/scripts/migrate-from-gambiarra.sh | bashWindows
Section titled “Windows”irm https://raw.githubusercontent.com/arthurbm/gambi/main/scripts/migrate-from-gambiarra.ps1 | iexManual migration
Section titled “Manual migration”CLI installed via npm
Section titled “CLI installed via npm”npm uninstall -g gambiarranpm install -g gambiThe new gambi package installs a wrapper plus the matching platform binary for the current machine.
CLI installed via bun
Section titled “CLI installed via bun”bun remove -g gambiarrabun add -g gambiStandalone binary on Linux / macOS
Section titled “Standalone binary on Linux / macOS”curl -fsSL https://raw.githubusercontent.com/arthurbm/gambi/main/scripts/uninstall.sh | bashcurl -fsSL https://raw.githubusercontent.com/arthurbm/gambi/main/scripts/install.sh | bashStandalone binary on Windows
Section titled “Standalone binary on Windows”irm https://raw.githubusercontent.com/arthurbm/gambi/main/scripts/uninstall.ps1 | iexirm https://raw.githubusercontent.com/arthurbm/gambi/main/scripts/install.ps1 | iexSDK migration
Section titled “SDK migration”Replace imports and provider names:
import { createGambi } from "gambi-sdk";
const gambi = createGambi({ roomCode: "ABC123",});What changed:
gambiarra-sdk->gambi-sdkcreateGambiarra->createGambiGambiarra*types ->Gambi*types- response metadata key
gambiarra->gambi
Local config migration
Section titled “Local config migration”The CLI and TUI now use:
~/.gambi/config.jsonIf you already have:
~/.gambiarra/config.jsonthe migration script copies it into the new location when possible.
Service and network names
Section titled “Service and network names”If you run Gambi as a service or rely on discovery, update these names too:
gambiarra-hub.service->gambi-hub.service_gambiarra._tcp.local->_gambi._tcp.localgambiarra-hub-{port}->gambi-hub-{port}
Verify the migration
Section titled “Verify the migration”gambi --versiongambi --helpIf you use the SDK, also update your app imports and run your normal build or typecheck.