How To Install Pg_format In Debian, Ubuntu, Kali And MacOS?

How To Install Pg_format In Debian, Ubuntu, Kali And MacOS?

pg_format

PostgreSQL SQL syntax beautifier

Maintainer: Debian PostgreSQL Maintainers



Section: database

Install pg_format

  • Debian apt-get install pgformatter Click to copy
  • Ubuntu apt-get install pgformatter Click to copy
  • Kali Linux apt-get install pgformatter Click to copy
  • macOS brew install pgformatter Click to copy

pgformatter

PostgreSQL SQL syntax beautifier

This SQL formatter/beautifier supports keywords from SQL-92, SQL-99, SQL-2003, SQL-2008, SQL-2011 and PostgreSQL specifics keywords. May works with any other databases too. pgFormatter can work as a console program or as a CGI. pg_format will automatically detect its environment and output as text or as HTML following the context.

Install the latest version of pg_format in Debian, Ubuntu, Kali and macOS from terminal. To install the pg_format just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of pg_format from the respository and install it in your computer/server.