- Python 3: Required for running the hook script
- Verify:
python3 --version - Install:
sudo apt install python3(Ubuntu/Debian) orsudo yum install python3(RHEL/CentOS)
- Verify:
- Audio Player:
paplayfrompulseaudio-utils- Install:
sudo apt install pulseaudio-utils
- Install:
All details are mentioned in HOOKS-README.md
Open terminal in your project directory and run the following commands:
mkdir -p .codex/hooks
git clone https://github.com/shanraisshan/codex-cli-hooks.git temp-hooks
cp -r temp-hooks/.codex/hooks/* .codex/hooks/
cp temp-hooks/install/hooks-linux.json .codex/hooks.json
rm -rf temp-hooks