DevRun is designed to be installed globally so you can use it in any project directory on your system.
# Install globally from PyPI
pip install devrun
# Verify installation
devrun help# Clone the repository
git clone https://github.com/devrun/devrun.git
cd devrun
# Install globally
pip install .
# Verify installation
devrun help# Clone and install in one step
git clone https://github.com/devrun/devrun.git
cd devrun
make install
# This runs: pip install .After installation, verify DevRun is working:
# Check if devrun command is available
devrun help
# Check version
devrun --version # (if implemented)
# Test in any directory
cd ~/Desktop
devrun status # Should show "No supported project detected"Once installed globally, you can use DevRun in any project:
# Node.js project
cd ~/my-react-app
devrun start # Automatically detects and runs with npm
# Python project
cd ~/my-flask-api
devrun start # Automatically detects and runs with python
# Go project
cd ~/my-go-service
devrun start # Automatically detects and runs with go
# Java project
cd ~/my-spring-boot-app
devrun start # Automatically detects and runs with maven/gradleIf you want to contribute to DevRun or modify it:
# Clone repository
git clone https://github.com/devrun/devrun.git
cd devrun
# Install in development mode (changes reflect immediately)
pip install -e .
# Or use make
make install-dev- Python 3.7+ (DevRun uses only standard library)
- pip for installation
- No external dependencies required
If devrun command is not found after installation:
# Check if pip installed to the right location
pip show devrun
# Check your PATH includes pip's bin directory
echo $PATH
# On some systems, you might need:
python -m pip install devrun
# Or use pip3 explicitly:
pip3 install devrunIf you get permission errors:
# Install with user flag (installs to ~/.local/bin)
pip install --user devrun
# Make sure ~/.local/bin is in your PATH
export PATH="$HOME/.local/bin:$PATH"
# Add to your shell profile (.bashrc, .zshrc, etc.)
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrcDevRun should be installed globally, not in a virtual environment:
# Deactivate any virtual environment first
deactivate
# Then install globally
pip install devrunTo update to the latest version:
# Update from PyPI
pip install --upgrade devrun
# Or reinstall from source
git pull origin main
pip install --upgrade .To remove DevRun:
pip uninstall devrun-
Add to Shell Aliases: Create shortcuts for common workflows
# Add to ~/.bashrc or ~/.zshrc alias dr="devrun start" alias drs="devrun status"
-
Use in CI/CD: DevRun can help catch errors in automated testing
# In your CI script devrun start & # Run in background # Run your tests # DevRun will catch and explain any runtime errors
-
Team Setup: Share DevRun installation in your team's setup docs
# Add to your project's README.md ## Development Setup 1. Install DevRun: `pip install devrun` 2. Start development: `devrun start`