- Step1: Install Cooper via pip (pip install cooper).
- Step2: Set your OpenAI API key (export OPENAI_API_KEY=your_key).
- Step3: Launch the CLI by running cooper in your terminal.
- Step4: Enter a natural language prompt describing the task.
- Step5: Review the generated shell commands in the preview.
- Step6: Approve to execute or modify commands as needed.
- Step7: (Optional) Configure or add plugins in ~/.cooper/config.yaml.