claude-code-sdk-ruby
Claude Code SDK for Ruby
File Explorer
- settings.local.json
- console
- setup
- mcp_integration.md
- README.md
- streaming.md
- authentication_examples.rb
- basic_usage.rb
- conversation_resuming.rb
- irb_helpers.rb
- jsonl_cli_equivalent.rb
- mcp_examples.rb
- model_examples.rb
- quick_start.rb
- rails_sidekiq_example.rb
- streaming_examples.rb
- streaming_json_input.rb
- client.rb
- errors.rb
- types.rb
- version.rb
- claude_code.rb
- add_mcp_server_spec.rb
- client_spec.rb
- subprocess_cli_spec.rb
- claude_code_spec.rb
- test_helpers.rb
- claude_code_spec.rb
- errors_spec.rb
- jsonl_helpers_spec.rb
- spec_helper.rb
- types_spec.rb
- .rspec
- .rspec_status
- .rubocop.yml
- .yardopts
- CHANGELOG.md
- claude_code-0.0.16.gem
- claude_code.gemspec
- Gemfile
- Gemfile.lock
- hello.txt
- LICENSE
- Rakefile
- README.md
- USAGE_EXAMPLES.md
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
bundle
View Details ▼
bundle
Dependency manager for the Ruby programming language.
bundle install
Install all gems defined in the `Gemfile` expected in the working directory:
bundle exec {{command}} {{arguments}}
Execute a command in the context of the current bundle:
bundle update
Update all gems by the rules defined in the `Gemfile` and regenerate `Gemfile.lock`:
gem
View Details ▼
gem
A package manager for the Ruby programming language.
gem search {{regex}} {{[-a|--all]}}
Search for remote gem(s) and show all available versions:
gem install {{gem_name}}
Install the latest version of a gem:
gem install {{gem_name}} {{[-v|--version]}} {{1.0.0}}
Install a specific version of a gem:
npm install
View Details ▼
npm install
Install Node packages.
npm {{[i|install]}}
Install dependencies listed in `package.json`:
npm {{[i|install]}} {{package_name}}@{{version}}
Download a specific version of a package and add it to the list of dependencies in `package.json`:
npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}
Download the latest version of a package and add it to the list of dev dependencies in `package.json`:
prompt
View Details ▼
prompt
Change the default DOS style prompt in a command window.
prompt
Reset the prompt to the default setting:
prompt {{prompt}}
Set a specific prompt:
prompt $D $P$G
Change the prompt to show the current date first:
