Migration guide To upgrade to version 2 of the CLI, follow the migration guide in the Claude API docs.