This repository uses mise for managing development tool versions, including GitHub CLI and Python.
Mise (formerly rtx) is a polyglot tool version manager. It automatically installs and manages versions of tools like Python, Node.js, GitHub CLI, and many others.
# macOS
brew install mise
# Or using the official installer
curl https://mise.run | shAdd to your ~/.zshrc (for zsh) or ~/.bashrc (for bash):
eval "$(mise activate zsh)" # for zsh
eval "$(mise activate bash)" # for bashThen reload your shell:
source ~/.zshrc # or source ~/.bashrc
# Or restart your terminalNavigate to the repository and mise will automatically install configured tools:
cd /path/to/dotcms/core
mise installOr let mise auto-install when you enter the directory:
cd /path/to/dotcms/core
# Tools will install automatically if auto_install is enabledThe .mise.toml file configures these tools:
-
gh (GitHub CLI) -
latestversion- Used for issue and PR management
- Commands:
gh issue,gh pr, etc.
-
python -
3.11.x(latest 3.11)- Used for cicd-diagnostics skill
- Automatically creates virtual environment in
.venv/
mise doctormise listgh --version
python --versionMise automatically creates a Python virtual environment in .venv/:
# Activate venv (if needed manually)
source .venv/bin/activate
# Install cicd-diagnostics dependencies
pip install -r .claude/skills/cicd-diagnostics/requirements.txt
# Deactivate venv
deactivate- Consistent versions - Everyone uses the same tool versions
- Automatic installation - Tools install when entering the directory
- Per-project configuration - Each project can have different versions
- Virtual environment management - Automatic Python venv creation
- No PATH pollution - Tools only available in project directory
If gh or python commands still point to system versions:
# Check if mise is activated
mise doctor
# If not, activate mise
eval "$(mise activate $(basename $SHELL))"
# Or add to your shell rc file permanentlymise install --forcemise cache clearThe Python installation is primarily for the cicd-diagnostics skill:
# All scripts use the mise-managed Python
.claude/skills/cicd-diagnostics/fetch-logs.py
.claude/skills/cicd-diagnostics/fetch-jobs.py
.claude/skills/cicd-diagnostics/fetch-metadata.pySee .claude/skills/cicd-diagnostics/README.md for skill documentation.