Use tabs to show different installation methods
This commit is contained in:
+23
-5
@@ -6,31 +6,49 @@ Installation
|
|||||||
The release page has `pre-compiled binaries for Mac OS X, Windows, Linux and FreeBSD <https://github.com/PostgREST/postgrest/releases/latest>`_ .
|
The release page has `pre-compiled binaries for Mac OS X, Windows, Linux and FreeBSD <https://github.com/PostgREST/postgrest/releases/latest>`_ .
|
||||||
The Linux binary is a static executable that can be run on any Linux distribution.
|
The Linux binary is a static executable that can be run on any Linux distribution.
|
||||||
|
|
||||||
If you use **macOS Homebrew**, then you can install PostgREST from the `official repo <https://formulae.brew.sh/formula/postgrest>`_.
|
You can also use your OS package manager.
|
||||||
|
|
||||||
|
.. tabs::
|
||||||
|
|
||||||
|
.. group-tab:: Mac OSX
|
||||||
|
|
||||||
|
You can install PostgREST from the `Homebrew official repo <https://formulae.brew.sh/formula/postgrest>`_.
|
||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
brew install postgrest
|
brew install postgrest
|
||||||
|
|
||||||
If you use **FreeBSD**, then you can install PostgREST from the `official ports <https://www.freshports.org/www/hs-postgrest>`_.
|
.. group-tab:: FreeBSD
|
||||||
|
|
||||||
|
You can install PostgREST from the `official ports <https://www.freshports.org/www/hs-postgrest>`_.
|
||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
pkg install hs-postgrest
|
pkg install hs-postgrest
|
||||||
|
|
||||||
If you use **Arch Linux**, then you can install PostgREST from the `community repo <https://archlinux.org/packages/community/x86_64/postgrest>`_.
|
.. group-tab:: Linux
|
||||||
|
|
||||||
|
.. tabs::
|
||||||
|
|
||||||
|
.. tab:: Arch Linux
|
||||||
|
|
||||||
|
You can install PostgREST from the `community repo <https://archlinux.org/packages/community/x86_64/postgrest>`_.
|
||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
pacman -S postgrest
|
pacman -S postgrest
|
||||||
|
|
||||||
If you use **Nix**, then you can install PostgREST from nixpkgs.
|
.. tab:: Nix
|
||||||
|
|
||||||
|
You can install PostgREST from nixpkgs.
|
||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
nix-env -i haskellPackages.postgrest
|
nix-env -i haskellPackages.postgrest
|
||||||
|
|
||||||
If you use Windows, you can install PostgREST using `Chocolatey <https://community.chocolatey.org/packages/postgrest>`_ or `Scoop <https://scoop.sh>`_.
|
.. group-tab:: Windows
|
||||||
|
|
||||||
|
You can install PostgREST using `Chocolatey <https://community.chocolatey.org/packages/postgrest>`_ or `Scoop <https://scoop.sh>`_.
|
||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
|
|||||||
@@ -75,7 +75,6 @@ logins
|
|||||||
lon
|
lon
|
||||||
lt
|
lt
|
||||||
lte
|
lte
|
||||||
macOS
|
|
||||||
middleware
|
middleware
|
||||||
misprediction
|
misprediction
|
||||||
Mithril
|
Mithril
|
||||||
|
|||||||
Reference in New Issue
Block a user