@@ -209,43 +209,27 @@ If pip is not installed check if easy_install is available on the system.
209
209
Linux:
210
210
======
211
211
212
- In depth getting started guide for ``pip `` - https://pip.pypa.io/en/latest/installation/
213
-
214
- Check if pip is already available in your system.
215
-
216
- ::
217
-
218
- $ which pip
219
-
220
- If it doesn't exist, use your linux package manager to install `pip `. This
221
- might look something like:
222
-
223
- ::
224
-
225
- $ sudo apt-get install python-pip # Debian, Ubuntu, Mint etc
226
-
227
- or
212
+ Many distributions have ``pgcli `` packages.
213
+ Refer to https://repology.org/project/pgcli/versions or your distribution to check the available versions.
228
214
229
- $ sudo yum install python-pip # RHEL, Centos, Fedora etc
215
+ Alternatively, you can use tools such as ` pipx `_ or ` uvx `_ to install the latest published package to an isolated virtual environment.
230
216
231
- `` pgcli `` requires python-dev, libpq-dev and libevent-dev packages. You can
232
- install these via your operating system package manager.
217
+ .. _ pipx : https://pipx.pypa.io/
218
+ .. _ uvx : https://docs.astral.sh/uv/guides/tools/
233
219
220
+ Run:
234
221
235
222
::
236
223
237
- $ sudo apt-get install python-dev libpq-dev libevent-dev
224
+ $ pipx install pgcli
238
225
239
- or
240
-
241
- $ sudo yum install python-devel postgresql-devel
242
-
243
- Then you can install pgcli:
226
+ to install ``pgcli `` with ``pipx ``, or run:
244
227
245
228
::
246
229
247
- $ sudo pip install pgcli
230
+ $ uvx pgcli
248
231
232
+ to run ``pgcli `` by installing on the fly with ``uvx ``.
249
233
250
234
Docker
251
235
======
0 commit comments