--- id: ensureconda version: "1.6.0" license: MIT license_treatment: permissive maintenance: aging --- # ensureconda — Lightweight bootstrapper for a conda executable License: permissive · Maintenance: aging · Downloads: 85.8K/mo ## What it is and what it does Ensureconda is a lightweight CLI bootstrapper that automates the discovery and installation of conda or mamba executables. It searches for an existing conda/mamba on the system, installs one if none is found (and installation is permitted), and returns the path to the executable on stdout. The tool supports multiple conda variants—mamba, micromamba, conda, and conda-standalone—each with configurable minimum version requirements and optional installation behavior. It's designed for automation workflows, CI/CD pipelines, and scripts that need a reliable conda environment without manual setup. The package includes both a Python implementation (supporting Python 3.8+) and a standalone Go binary, and allows configuration of the conda-standalone download channel via environment variables. Use it for: - Automated CI/CD pipelines that need conda available without requiring it pre-installed on the runner. - Build scripts that bootstrap a conda environment for reproducible package management across machines. - Container images or deployment automation that must discover or provision conda at runtime. - Development tools that depend on conda but want to fail gracefully if it's not present rather than erroring immediately. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. A CLI tool that finds or installs a conda/mamba executable, returning its path for use in scripts and automation. Yes, if you need to programmatically ensure conda/mamba is available in automation or CI/CD contexts. The low install friction, permissive license, and stable Python 3.8+ support make it a reasonable choice. However, the aging maintenance status (312 days since last release) suggests limited active development; verify that its feature set and conda-standalone download reliability meet your specific requirements before committing to it in critical pipelines. ## Install pip install ensureconda uv add ensureconda poetry add ensureconda ## Installing ensureconda Before you install: Low friction install with six common dependencies (appdirs, click, conda-package-streaming, filelock, packaging, requests). Maintenance status is aging—last release was 312 days ago, though the repository remains active with a recent commit on 2026-02-01. License in practice: MIT license (permissive) imposes no restrictions on use, modification, or distribution in proprietary or open-source projects. Quickstart: $ pip install ensureconda $ ensureconda --help $ ensureconda --conda-exe Requires Python 3.8 or later; conda or mamba must be discoverable on the system PATH or will be downloaded during execution. Verify before relying: - Whether the tool can reliably detect conda/mamba across all major operating systems without manual PATH configuration. - Performance impact of downloading conda-standalone on first run if no local conda is found. - Whether the Go-based binary reimplementation is feature-parity with the Python version. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: aging - Downloads: 85.8K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags conda bootstrap cli, ensure conda installed, mamba executable finder, conda installer tool, automated conda setup, conda path resolver, micromamba bootstrapper, conda-bootstrap, cli-tool, automation [View on SkillFed](https://skillfed.io/packages/ensureconda) · [View on PyPI](https://pypi.org/project/ensureconda/)