# Download the script
curl -O https://raw.githubusercontent.com/yourusername/cowboat/main/cowboat.py
chmod +x cowboat.py
# Run it
python3 cowboat.py# Clone the repository
git clone https://github.com/yourusername/cowboat.git
cd cowboat
# Make executable and run
chmod +x cowboat.py
python3 cowboat.py# Clone the repository
git clone https://github.com/yourusername/cowboat.git
cd cowboat
# Create and activate virtual environment
python3 -m venv cowboat-env
source cowboat-env/bin/activate
# Install in virtual environment
pip install -e .
# Now you can run
cowboat# Install pipx if you don't have it
brew install pipx
# Install cowboat
pipx install git+https://github.com/yourusername/cowboat.git
# Run from anywhere
cowboat# This will work once the formula is submitted to Homebrew
brew install cowboat
cowboat# Clone and enter directory
git clone https://github.com/yourusername/cowboat.git
cd cowboat
# Create development environment
python3 -m venv dev-env
source dev-env/bin/activate
# Install in development mode
pip install -e .
# Make changes and test
cowboat --help# Install build tools
pip install build twine
# Build the package
python -m build
# Upload to PyPI (for maintainers)
twine upload dist/*If you see this error when using pip, your Python installation is managed by your system package manager. Use one of these alternatives:
- Use pipx (recommended for applications)
- Use a virtual environment
- Use the direct download method
- Add
--break-system-packagesflag (not recommended)
Make sure your Python scripts directory is in your PATH:
# Add to your shell profile (~/.bashrc, ~/.zshrc, etc.)
export PATH="$PATH:$HOME/.local/bin"Make sure the script is executable:
chmod +x cowboat.py