Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 805 Bytes

File metadata and controls

30 lines (20 loc) · 805 Bytes

Installation - Linux

< Back to Main README

Prerequisites

  • Python 3: Required for running the hook script
    • Verify: python3 --version
    • Install: sudo apt install python3 (Ubuntu/Debian) or sudo yum install python3 (RHEL/CentOS)
  • Audio Player: paplay from pulseaudio-utils
    • Install: sudo apt install pulseaudio-utils

All details are mentioned in HOOKS-README.md


Installation

Step 1: Copy hooks folder

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