Installation
Purpose
This guide covers installing Cabriolet on your system. Cabriolet is a pure Ruby gem with no native dependencies, making installation straightforward on any platform that supports Ruby.
Concepts
Cabriolet is distributed as a Ruby gem through RubyGems.org. It requires Ruby 2.7 or later and has no native dependencies, ensuring compatibility across platforms including Linux, macOS, and Windows.
Requirements
Ruby Version
Cabriolet requires Ruby 2.7 or later. Check your Ruby version:
ruby --versionIf you need to install or update Ruby, see the official Ruby installation guide.
Installation Methods
Method 1: Installing from RubyGems (Recommended)
Install the latest stable version:
gem install cabrioletThis installs both the library and command-line tools.
Verifying Installation
After installation, verify Cabriolet is available:
cabriolet --versionYou should see output like:
Cabriolet version 0.1.0Test basic functionality:
cabriolet --helpThis displays the available commands.
Troubleshooting
Command Not Found
If cabriolet is not found after installation:
-
Ensure the gem binaries directory is in your PATH:
gem environmentLook for the "EXECUTABLE DIRECTORY" path.
-
Add it to your PATH if needed (typically
~/.gem/ruby/X.X.X/bin):export PATH="$PATH:$(ruby -e 'puts Gem.user_dir')/bin"
Next steps
Now that Cabriolet is installed:
-
Continue to Quick Start Guide to extract your first CAB file
-
Or jump to Your First CAB File to create an archive
-
Review the CLI Reference for all available commands