Difference between revisions of "Brew install postgresql"

From wikieduonline
Jump to navigation Jump to search
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 +
[[brew install postgresql@17]] (2024)
 +
[[brew install postgresql@16]] (2023)
 
  [[brew install postgresql@15]]
 
  [[brew install postgresql@15]]
 
  [[brew install postgresql@14]]
 
  [[brew install postgresql@14]]
Line 6: Line 8:
 
  [[brew install]] postgresql (deprecated)
 
  [[brew install]] postgresql (deprecated)
  
List of available versions:
+
List of available versions (<code>[[brew formulae]]</code>):
 
  [[brew info --json]] [[postgresql]] | [[jq -r]] '.[].versioned_formulae[]'
 
  [[brew info --json]] [[postgresql]] | [[jq -r]] '.[].versioned_formulae[]'
 
  Warning: Use postgresql@14 instead of deprecated postgresql
 
  Warning: Use postgresql@14 instead of deprecated postgresql
Line 16: Line 18:
  
  
 +
 +
* [[Connect]]
  
  
Line 21: Line 25:
 
* <code>[[brew install libpq]]</code> includes <code>[[psql]]</code>
 
* <code>[[brew install libpq]]</code> includes <code>[[psql]]</code>
 
* [[PostgreSQL versions]]
 
* [[PostgreSQL versions]]
 +
* [[make test]]
 +
* <code>[[createdb]] [[your-db]] && [[psql]] your-db</code>
  
 
== See also ==
 
== See also ==
* {{PostgreSQL}}
+
* {{brew install postgresql}}
  
 
[[Category:PostgreSQL]]
 
[[Category:PostgreSQL]]

Latest revision as of 10:36, 23 September 2024

brew install postgresql@17 (2024)
brew install postgresql@16 (2023)
brew install postgresql@15
brew install postgresql@14
brew install postgresql@13
brew install postgresql (deprecated)

List of available versions (brew formulae):

brew info --json postgresql | jq -r '.[].versioned_formulae[]'
Warning: Use postgresql@14 instead of deprecated postgresql
postgresql@13
postgresql@12
postgresql@11
postgresql@10
[email protected]
[email protected]
[email protected]


Related[edit]

See also[edit]

Advertising: