A command-line interface chat application using Claude 3.7 on AWS Bedrock.
- Node.js (v14 or later)
- AWS account with access to Bedrock
- AWS credentials configured locally
# Clone the repository
git clone <repository-url>
cd claude-cli
# Install dependencies
npm install
# Make the CLI executable
npm link# Start a chat session with default settings
claude-cli chat
# Specify AWS region and model
claude-cli chat --region us-west-2 --model anthropic.claude-3-7-sonnet-20250301-v1:0chat: Start a chat session with Claude 3.7- Options:
-r, --region <region>: AWS region (default: "us-east-1")-m, --model <model>: Claude model to use (default: "anthropic.claude-3-7-sonnet-20250301-v1:0")
- Options:
This application uses the AWS SDK, which will automatically use your AWS credentials. Make sure you have the AWS CLI configured or appropriate environment variables set.
aws configureMIT