colcon-bash
Extension for colcon to provide Bash scripts.
What it is and what it does
colcon-bash is a plugin for the colcon build system that generates Bash shell scripts for environment setup and workspace management. It extends colcon-core to produce shell initialization files that developers source to configure their build environment. The package is a pure-Python wheel with a single runtime dependency on colcon-core, making it lightweight to install.
It is used as part of the colcon ecosystem to automate shell environment configuration across different operating systems (macOS and POSIX systems). When integrated into a colcon workflow, it handles the generation of Bash-compatible setup scripts without requiring manual shell configuration. The package has been maintained since 2018 and remains active, though it carries an Alpha development status and has not had a release in over two years.
Use it for:
- Generate Bash environment setup scripts automatically when building multi-package colcon workspaces.
- Configure shell environment variables and paths for ROS 2 or other colcon-based projects on macOS and Linux.
- Automate workspace initialization so developers can source a single script to activate all build dependencies.
- Integrate Bash script generation into CI/CD pipelines that use colcon for build orchestration.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Bash script generation as an extension to colcon-core, enabling shell environment setup and build orchestration for colcon-based projects.
Yes, if you use colcon and need Bash script generation for environment setup. Install friction is low and the package is actively maintained. However, the Alpha status and two-year gap since the last release suggest it may not be heavily developed; verify that the current version meets your colcon version requirements before depending on it for production workflows.
Install
colcon-bash on PyPI
pip
pip install colcon-bashuv
uv add colcon-bashpoetry
poetry add colcon-bashInstalling colcon-bash
Before you install
Low friction install with a single pure-Python wheel dependency on colcon-core. Active maintenance with recent commits, though the package is classified as Alpha and last release was over 2 years ago.
License in practice
Apache License 2.0 is permissive; you may use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install colcon-bash
After installation, colcon will automatically discover and use the Bash extension when you run colcon build or other colcon commands that generate environment scripts.
Requires colcon-core to be installed; colcon-bash is a plugin that extends colcon and has no standalone utility.
Verify before relying
- Whether Python version support is truly unspecified or if there are undocumented constraints from colcon-core.
- Current adoption rate and real-world usage patterns beyond download counts.
- Whether the Alpha status reflects incomplete features or simply conservative versioning.
Package facts
| License | Apache License, Version 2.0 (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — colcon-core |
| Maintenance | actively maintained — 1,054 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 176,356/month — #10,244 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: colcon_bash-0.5.0-py3-none-any.whl
Keywords: colcon
Tags
More Build Tools packages
Provides reusable utilities for Python…
permissive · top 100 on PyPI
tqdmWraps any iterable to display a real-time…
copyleft · top 100 on PyPI
pippip is the standard installer for Python…
permissive · top 100 on PyPI
hatchlingHatchling is a standards-compliant Python build…
permissive · top 100 on PyPI
grpcio-toolsGenerates Python gRPC service stubs and message…
permissive · top 1,000 on PyPI
pre-commitpre-commit is a framework for installing and…
permissive · top 1,000 on PyPI
colcon-argcompleteAdds shell command-line completion to colcon…
permissive · top 15,000 on PyPI
colcon-powershellExtends colcon-core to generate PowerShell…
permissive · top 15,000 on PyPI
colcon-zshProvides Z shell (zsh) completion and…
permissive · top 15,000 on PyPI
colcon-outputExtends colcon-core to customize output…
permissive · top 15,000 on PyPI
colcon-cdProvides a shell function for colcon-core that…
permissive · top 15,000 on PyPI
colcon-corecolcon-core is a command-line tool that…
permissive · top 15,000 on PyPI
colcon-cmakecolcon-cmake is a plugin for colcon that adds…
permissive · top 15,000 on PyPI
colcon-package-informationExtends colcon-core to provide information…
permissive · top 15,000 on PyPI
colcon-notificationAdds desktop notifications to colcon build…
permissive · top 15,000 on PyPI
colcon-common-extensionsBundles colcon-core and twenty common colcon…
permissive · top 15,000 on PyPI