Install Paperclip locally and wire it to AWS Bedrock using an ANTHROPIC_BEDROCK_BASE_URL token. No static AWS access keys needed.
The script handles cloning, dependencies, Bedrock config, and the .env file — all interactively.
Verifies Node.js 20+ and Git are installed. Installs pnpm automatically if missing.
Clones paperclipai/paperclip into ~/paperclip (or your $PAPERCLIP_DIR) and runs pnpm install. Already installed? It pulls the latest instead.
Prompts for your ANTHROPIC_BEDROCK_BASE_URL and AWS region. Writes them to ~/.zshenv and reloads the environment. Credentials are cached — re-running skips this prompt.
.envCreates ~/paperclip/.env with your database URL, port 3100, and a randomly generated BETTER_AUTH_SECRET. File is chmod 600.
Run from the root of the mac-setup repo.
All credentials are stored with chmod 600 and never hard-coded in the repo.
~/.zshenv| Variable | Purpose |
|---|---|
| ANTHROPIC_BEDROCK_BASE_URL | Your Bedrock proxy endpoint (e.g. https://bedrock.us-east-1.amazonaws.com) |
| PAPERCLIP_AWS_REGION | AWS region — defaults to us-east-1 |
| PAPERCLIP_DIR | Override install directory — set in your shell before running install (default: ~/paperclip) |
~/paperclip/.envTo use a different database, enter a custom DATABASE_URL when prompted, or delete ~/.claude/provider-backups/paperclip_db_url to re-prompt on next run.
Four quick steps after the script finishes.
Close and reopen your terminal, or run source ~/.zshenv to pick up the new Bedrock env vars.
cd ~/paperclip && pnpm dev — the server starts on port 3100.
Visit http://localhost:3100 in your browser.
In the Paperclip UI, add an agent. Paperclip's claude-local adapter reads ANTHROPIC_BEDROCK_BASE_URL from your environment and automatically uses Bedrock model IDs.