Globetrotter docsversion 0.3.0 · 2026-12-04

Install Globetrotter

On this page
  1. What you need
  2. A new project
  3. The agent (Claude Code)
  4. A project that already uses Globetrotter
  5. Uninstalling
  6. Errors you may meet

Globetrotter is shared as one folder, globetrotter-<version>/ (or its .zip): seven tarballs, install.mjs, SHA256SUMS and these docs (docs/index.html, which opens from the folder; start at learn/README.html). Unpack it anywhere; nothing else is needed from the owner.

What you need

  • Node 20 or newer and npm (nodejs.org, the LTS). Check: node -v.
  • For a project with a backend: uv (install); it fetches Python itself. Rust (cargo) only for the optional Rust target.
  • Internet for the ordinary packages (react, next, ...). Nothing is uploaded.

A new project

node globetrotter-<version>/install.mjs new my-app --as both

--as is frontend (the default), both (pages and a backend), backend or static. It copies the tarballs into my-app/vendor/globetrotter/, runs init, installs (in frontend/ too for both), and runs globetrotter doctor. It ends with the three things to do:

cd my-app
npx globetrotter dev          # the studio, the app and the backend
# studio http://localhost:3100/studio   app http://localhost:3000   backend http://localhost:8000/docs

Commit vendor/globetrotter/: a clone then runs npm install (and cd frontend && npm install) with nothing else. If 3000 or 8000 is in use, the project is given free ports and the installer says which.

The agent (Claude Code)

With only this bundle, put a .mcp.json in the project: Work with an agent has its one line. The plugin (claude plugin marketplace add Yashwanthkikkuri/Designer-) installs from the Globetrotter repository and works only once that repository is public.

A project that already uses Globetrotter

node globetrotter-<version>/install.mjs upgrade ../my-project

It replaces the tarballs in vendor/globetrotter/, points package.json at them, installs, runs sync, sync --check and doctor. Then restart globetrotter dev. To update later, run the newer bundle's install.mjs upgrade the same way. npx globetrotter --version says what is installed.

Uninstalling

Delete the project folder. Or only Globetrotter: remove the globetrotter and @globetrotter/* lines from package.json, delete vendor/globetrotter/, run npm install; the generated pages stay as plain Next.js code.

Errors you may meet

Message Fix
Node 18.x is too old Install Node 20+ from nodejs.org and open a new terminal.
a backend needs uv ... was not found Install uv (link above), open a new terminal; if it lives somewhere unusual set GLOBETROTTER_UV to its path.
npm error 404 ... @globetrotter/core ... is not in this registry Something ran plain npm install without the tarballs. Run install.mjs upgrade . in the project (it rewrites package.json to file:./vendor/globetrotter/...).
... does not match SHA256SUMS: the copy is damaged The download broke; send the archive again, unpack the whole of it.
port 3100 (the studio's) is in use here Not an error: the installer prints the command with --port for the free one. For others: --app-port 3410 --backend-port 8410.

Also: never run npx globetrotter outside a project made this way; npm would fetch a different package of that name.