Install Ocp-indent On A Debian, Ubuntu, Kali And Raspbian

Install Ocp-indent On A Debian, Ubuntu, Kali And Raspbian

ocp-indent

OCaml indentation tool for emacs and vim – runtime

Maintainer: Debian OCaml Maintainers



Section: ocaml

Install ocp-indent

  • Debian apt-get install ocp-indent Click to copy
  • Ubuntu apt-get install ocp-indent Click to copy
  • Kali Linux apt-get install ocp-indent Click to copy
  • Raspbian apt-get install ocp-indent Click to copy

ocp-indent

OCaml indentation tool for emacs and vim - runtime

ocp-indent is a command-line tool that allows one to indent a whole OCaml source code file (or parts of it) either to standard output or in-place. A configuration file allows user defaults as well as per-project parameters. The ratio of correctly indented lines is comparable with emacs tuareg mode while being an order of magnitude faster. This package includes the runtime binary and the vim and emacs extensions.

Installing ocp-indent command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Kali and Raspbian operating systems. Once you run the command it will install the latest version of ocp-indent 2026 package in your OS.