Skip to main content

cbdep - Generalized Tool Installer

cbdep is a command-line tool for installing and managing development dependencies and tools. It provides a simple interface to download and install various packages with automatic platform detection and caching.

Installation

The easiest way to install cbdep is using uv:

uv tool install cbdep

This will install cbdep to ~/.local/bin/ (or the equivalent on Windows). Make sure this directory is on your PATH.

Alternative: Using the Wrapper Script

For CI/CD environments or systems where you don't want to pre-install tools, you can use the wrapper script which automatically installs and updates cbdep via uv:

Linux/macOS:

curl -qLsSf https://packages.couchbase.com/cbdep/latest/cbdep -O
chmod +x cbdep
./cbdep install <package> <version>

Windows:

# Download cbdep.exe from packages.couchbase.com
.\cbdep.exe install <package> <version>

The wrapper script will automatically install uv if needed, then install/update cbdep itself.

Usage

List Available Packages

See all packages that can be installed:

cbdep list

Install a Package

Install a specific version of a package:

cbdep install <package> <version>

For example:

cbdep install golang 1.21.0
cbdep install cmake 3.25.0

By default, packages are installed to the ./install directory. You can specify a different location:

cbdep install golang 1.21.0 --dir /opt/tools

Cache Management

Cache a download without installing:

cbdep cache <url>

Get the cached filename:

cbdep cache <url> --report

Save a cached file locally:

cbdep cache <url> --output ./myfile.tar.gz

Platform Information

Display detected platform and architecture:

cbdep platform

Override platform or architecture detection:

cbdep --platform linux --arch arm64 install golang 1.21.0

Options

Global options:

  • --debug - Enable debug output
  • -p, --platform <platform> - Override detected platform
  • -a, --arch <arch> - Override detected architecture
  • -V, --version - Show version information

Install options:

  • -d, --dir <directory> - Installation directory (default: ./install)
  • -c, --config-file <file> - Use custom YAML configuration file
  • -n, --cache-only - Only download, don't install
  • -r, --report - Report cached filename
  • -o, --output <file> - Save cached file to local path
  • --recache - Re-download files, replacing cache

Configuration

cbdep includes a built-in configuration file that defines available packages and their download locations. You can also provide a custom configuration file with --config-file.

Downloaded files are cached in ~/.cbdepcache to avoid repeated downloads.

Contributing

See CONTRIBUTING.md for information about development, testing, and publishing.

License

See LICENSE.txt for license information.

Metadata

Release files for cbdep 1.3.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cbdep 1.3.13
File Size Uploaded Provenance Actions
cbdep-1.3.13.tar.gz 59.6 kB Without provenance Details for cbdep-1.3.13.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cbdep 1.3.13
File Interpreter ABI Platform Actions
cbdep-1.3.13-py3-none-any.whl Python 3 none any Details for cbdep-1.3.13-py3-none-any.whl

Total release size: 86.3 kB

Release files / cbdep-1.3.13.tar.gz

Download URL cbdep-1.3.13.tar.gz
Size 59.6 kB
Tags Source
SHA-256 checksum
How to use checksums
4b084f1eb7e4b048408824d54348401c46ace05e5062f225ec9057f77bd0fb90
BLAKE2b-256 checksum
How to use checksums
39617fbcd607e465c77fd028e497b9ef918ab9473a01c44c710900e706c47de5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.3

Release files / cbdep-1.3.13-py3-none-any.whl

Download URL cbdep-1.3.13-py3-none-any.whl
Size 26.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8ef28426e6096e0ffa2a4e1723fc5006548e8fde58ae66b1d36dc8e1525c9ec4
BLAKE2b-256 checksum
How to use checksums
7dd5f77d459fdb7b766c829683bcaf34e7c4b18a5446f0696df3f549001cf218
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.3

Security for cbdep 1.3.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page