Build delta from source - delta (original) (raw)

  1. 1. Introduction
  2. 2. Get started
  3. 3. Features
  4. 4. Installation
  5. 5. Configuration
  6. 6. Environment variables
  7. 7. How delta works
  8. 8. Usage
    1. 8.1. Choosing colors (styles)
    2. 8.2. Line numbers
    3. 8.3. Hyperlinks
    4. 8.4. Side-by-side view
    5. 8.5. Grep
    6. 8.6. "Features": named groups of settings
    7. 8.7. Custom themes
    8. 8.8. diff-highlight and diff-so-fancy emulation
    9. 8.9. --color-moved support
    10. 8.10. Navigation keybindings for large diffs
    11. 8.11. Merge conflicts
    12. 8.12. Git blame
    13. 8.13. Supported languages and themes
  9. 9. Tips & tricks
    1. 9.1. Toggling side-by-side and other delta features
  10. 9.2. 24 bit color (truecolor)
  11. 9.3. Mouse scrolling
  12. 9.4. Save output with colors to HTML/PDF etc
  13. 9.5. Using Delta on Windows
  14. 9.6. Using Delta with GNU Screen
  15. 9.7. Using Delta with Magit
  16. 9.8. Using Delta with tmux
  17. 9.9. Using Delta with VSCode
  18. 9.10. Generating shell completion files
  19. 10. Comparisons with other tools
  20. 11. Build delta from source
  21. 12. Related projects
  22. 13. Full --help output
  23. 14. Delta configs used in screenshots

delta

Build delta from source

You'll need to install the rust tools. Then:

cargo build --release

and use the executable found at ./target/release/delta.

Alternatively, homebrew users can do

brew install --HEAD git-delta

to install the development version of delta with merged but unreleased changes.