We open the terminal, this can be done through the Spotlight search built into the system (and find the terminal), then we take the following steps: If any problems are displayed during the installation, you can try to fix them or get information for fixing through the brew doctor command.įor more information about Homebrew, see How to Install Homebrew on Windows or MacOS.To upgrade Homebrew itself, just enter the command brew upgrade.Check for updates via the brew update console command and wait for it to complete.As a result, it will be necessary to open the folder in the system terminal and install everything according to the manualīefore installing PostgreSQL, you need to check the work of Homebrew and it is desirable to update:.In the folder you will see a file called **INSTALL**, open it and read the necessary installation information, there will also be full instructions on how to install and what to do.Next, unzip the downloaded file and go to the newly created folder from this archive.In the directory, download the file (I have the following file: postgresql-v14.2.tar.gz).Select the required version (mine is v14.2) and navigate to the directory. In order to install through the installer, go to the official PostgreSQL website and download the required version: The most common and recommended way to install PostgreSQL is through Homebrew. In any of the above cases, you can fully install PostgreSQL on your system. using the Homebrew package manager (recommended).through the installer from the official site.In the article I will tell you how to install PostgreSQL on a macOS system, how to use it through the terminal, connect through applications and connect to your applications, as well as basic commands for interacting through the terminal. This article will show you how to install PostgreSQL on macOS (including Apple Silicon) in various ways. During development, you need to connect to a local database in your project and interact with it. In most cases, when developing applications, it becomes necessary to store data in databases and interact with them. How to install PostgreSQL on MacOS (Catalina/BigSur/Monterey/Ventura) with chip Apple M1/M2. Install PostgreSQL on MacOS (Apple Silicon m1/m2)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |