Difference between revisions of "Brew install postgresql"

From wikieduonline
Jump to navigation Jump to search
 
(10 intermediate revisions by 3 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@14]]
 
  [[brew install postgresql@14]]
 
  [[brew install]] [[postgresql]]@13
 
  [[brew install]] [[postgresql]]@13
Line 5: 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 15: Line 18:
  
  
 +
 +
* [[Connect]]
  
  
 
== Related ==
 
== Related ==
 
* <code>[[brew install libpq]]</code> includes <code>[[psql]]</code>
 
* <code>[[brew install libpq]]</code> includes <code>[[psql]]</code>
 +
* [[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: