---
title: Install migra on Linux | Snap Store
description: Get the latest version of migra for Linux - Like diff but for Postgres
  schemas
url: https://snapcraft.io/migra
---

# migra

[AMA (drcoccodrillus)](https://snapcraft.io/publisher/drcoccodrillus "View all snaps from AMA (drcoccodrillus)")

* [AMA (drcoccodrillus)](https://snapcraft.io/publisher/drcoccodrillus "View all snaps from AMA (drcoccodrillus)")
* [Development](https://snapcraft.io/search?categories=development)
* [Utilities](https://snapcraft.io/search?categories=utilities)

latest/stable 3.0.1663481299-rev1

Install latest/stable of migra

This channel hasn't been updated in a while. It might be unmaintained and have stability or security issues.

---

**Install using the command line**

```
sudo snap install migra
```

Don't have snapd? [Get set up for snaps](https://snapcraft.io/docs/installing-snapd).

---

### Package name

* migra

---

### License

* Unlicense

---

### Last updated

* 19 December 2023 - latest/stable
* 19 December 2023 - latest/beta

This snap hasn't been updated in a while. It might be unmaintained and have stability or security issues.

---

### Contact

* [twitter.com](https://twitter.com/DrCoccodrillus "https://twitter.com/DrCoccodrillus")

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/migra#report-snap-modal)

---

* [Description](https://snapcraft.io/migra#tab-description)
* [Security](https://snapcraft.io/migra#tab-security)

#### Like diff but for Postgres schemas

**migra** is a schema diff tool for PostgreSQL, written in Python.

It magically figures out all the statements required to get from A to B.

Migra supports PostgreSQL >= 9 only. Known issues exist with earlier versions.

**How to use it**

```
migra postgresql://user:psw@server-ip-address:5432/db-name-A postgresql://user:psw@server-ip-address:5432/db-name-B
```

---

## Install migra on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the [installing snapd documentation](https://snapcraft.io/docs/installing-snapd).

[### Arch Linux](https://snapcraft.io/install/migra/arch)

[### CentOS](https://snapcraft.io/install/migra/centos)

[### Debian](https://snapcraft.io/install/migra/debian)

[### elementary OS](https://snapcraft.io/install/migra/elementary)

[### Fedora](https://snapcraft.io/install/migra/fedora)

[### KDE Neon](https://snapcraft.io/install/migra/kde-neon)

[### Kubuntu](https://snapcraft.io/install/migra/kubuntu)

[### Manjaro](https://snapcraft.io/install/migra/manjaro)

[### Pop!\_OS](https://snapcraft.io/install/migra/pop)

[### openSUSE](https://snapcraft.io/install/migra/opensuse)

[### Red Hat Enterprise Linux](https://snapcraft.io/install/migra/rhel)

[### Ubuntu](https://snapcraft.io/install/migra/ubuntu)

[### Raspberry Pi](https://snapcraft.io/install/migra/raspbian)
