Installation
Download Gaet, confirm the PostgreSQL client tools, then initialize your workspace.
Quick install
Choose one of the following methods for your operating system:
Run the command in your terminal, then continue to Quickstart.
Before you start
Gaet requires PostgreSQL client tools to run backups and restores. Make sure the following are installed on the machine running Gaet:
Required tools
pg_dumpCreates a local database backup archive.
pg_restoreValidates the backup archive before publishing.
psqlPostgreSQL command-line client for connections.
Verify everything is available by running:
pg_dump --version
pg_restore --version
psql --versionDownloads by platform
All assets are published on the latest release page ↗. The following links follow the latest published release automatically.
Filename contains version number, choose the matching package on the release page.
Check the downloaded file against checksums.txt ↗ before installing it.
Install script
Linux and macOS
curl -sSL https://raw.githubusercontent.com/ghaniyyrahmans/gaet/lts/v1.1/install.sh | bashWindows PowerShell
irm https://raw.githubusercontent.com/ghaniyyrahmans/gaet/lts/v1.1/install.ps1 | iexBuild from source
With Go toolchain:
go install github.com/ghaniyyrahmans/gaet/cmd/gaet@latest Or clone the repository and build a stripped binary:
git clone https://github.com/ghaniyyrahmans/gaet.git
cd gaet
go build -ldflags="-s -w" -o ~/.local/bin/gaet ./cmd/gaetVerify installation
Make sure the binary is available and working properly:
gaet --versionShows installed Gaet version.
gaet doctorDiagnoses local settings and connection.
Initialize workspace
gaet init Initialization writes ~/.gaet/.env and prepares the backup directory. Run gaet doctor to verify the result.
Next step
Gaet is installed. Create your first PostgreSQL backup:
Open Quickstart →