Global Usage (Run from Any Directory)
If you want to run cybercode directly from any project directory, set up one of the following. Once configured, cybercode will automatically recognize your current working directory.
macOS / Linux
Add to ~/.bashrc or ~/.zshrc:
bash
# Option 1: Add to PATH (recommended)
export PATH="$HOME/path/to/cybercode/bin:$PATH"
# Option 2: Alias
alias cybercode="$HOME/path/to/cybercode/bin/cybercode"Then reload the config:
bash
source ~/.bashrc # or source ~/.zshrcWindows (Git Bash)
Add to ~/.bashrc:
bash
export PATH="$HOME/path/to/cybercode/bin:$PATH"Verify
After setup, navigate to any project directory and test:
bash
cd ~/your-other-project
cybercode
# Ask "What is the current directory?" — it should show ~/your-other-project
