Skip to content

Instantly share code, notes, and snippets.

View matthewevans's full-sized avatar

Matt Evans matthewevans

View GitHub Profile
@matthewevans
matthewevans / create_claude_token.sh
Last active January 4, 2026 22:17
Gets a long-lived (1yr) Claude Subscription token and stores it for Claude Code.
#!/bin/bash
set -e
echo "Setting up Claude credentials..."
# 1. Run claude setup-token
echo "Running claude setup-token..."
claude setup-token