Remote Caching for Local Development

How to set up Turborepo remote caching for local development


Create a config.json with your API token

Add the following .turbo/config.json file at the root of your local repository.

{
  "teamid": "any_name"
  "apiurl": "https://cache.turbocache.build",
  "loginurl": "https://turbocache.build",
}

Replace "any_name" with your actual team name, this can be any name you want.

And add a new turbo token to your user config:

TURBO_TOKEN=<grab from https://turbocache.build/dashboard/tokens> \
echo '{"token": "'"$TURBO_TOKEN"'"}' > ~/.config/turborepo/config.json