https://github.com/conda-incubator/ensureconda
Simple installer for conda (and conda-likes)
https://github.com/conda-incubator/ensureconda
conda hacktoberfest
Last synced: 6 months ago
JSON representation
Simple installer for conda (and conda-likes)
- Host: GitHub
- URL: https://github.com/conda-incubator/ensureconda
- Owner: conda-incubator
- License: mit
- Created: 2020-08-03T23:13:29.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2025-04-02T12:13:22.000Z (7 months ago)
- Last Synced: 2025-04-10T00:18:26.103Z (6 months ago)
- Topics: conda, hacktoberfest
- Language: Python
- Homepage:
- Size: 761 KB
- Stars: 16
- Watchers: 2
- Forks: 6
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE-MIT
Awesome Lists containing this project
README
# ensureconda
[](https://github.com/conda-incubator/ensureconda/actions?query=workflow%3A%22Python+package%22)
[](https://github.com/conda-incubator/ensureconda/blob/master/LICENSE-MIT)
[](https://pypi.org/project/ensureconda)
[](https://https://github.com/psf/black)## Installation
### Python-based
ensureconda is distributed on [PyPI](https://pypi.org) as a universal
wheel and is available on Linux, macOS and Windows and supports
Python 3.8+ and PyPy.```bash
$ pip install ensureconda
```### Go based
Additionally ensureconda is also available as a statically linked fully stand-alone
golang binary. This is a full reimplementation with the same cli as the python versionThese can be downloaded from [releases](https://github.com/conda-incubator/ensureconda/releases/latest)
Alternatively if you have go installed you can install from githubg using
```shell
$ go install github.com/conda-incubator/ensureconda@latest
$ ensureconda --help
```## Usage
Ensureconda is a cli tool that will
1. Find a preexisting conda/mamba executable
2. Install one if nothing was found and installation is allowed.
3. Return the path of the executable found/installed on stdout```
ensureconda --help
Usage: ensureconda [OPTIONS]Ensures that a conda/mamba is installed.
Options:
--mamba / --no-mamba search for mamba
--micromamba / --no-micromamba search for micromamba, install if not
present--conda / --no-conda search for conda
--conda-exe / --no-conda-exe search for conda.exe / conda-standalone,
install if not present--no-install don't install conda/mamba if no version can
be discovered--min-conda-version VERSIONNUMBER
minimum version of conda to accept (defaults
to 4.8.2)--min-mamba-version VERSIONNUMBER
minimum version of mamba/micromamba to
accept (defaults to 0.7.3)--help Show this message and exit.
```## License
ensureconda is distributed under the terms of the
[MIT License](https://choosealicense.com/licenses/mit).