You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-27Lines changed: 3 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,53 +47,29 @@ sqlit is a lightweight database TUI that is easy to use and beautiful to look at
47
47
48
48
### Method 1: `pipx` (Recommended)
49
49
50
-
This is the recommended method. It installs `sqlit-tui` in an isolated environment, so optional drivers are easy to add later.
51
-
52
50
1.**Install pipx:** If you don't have pipx, you can install it with:
53
51
```bash
54
52
python3 -m pip install --user pipx
55
53
python3 -m pipx ensurepath
56
54
```
57
-
*(You may need to restart your terminal after this step)*
58
55
59
56
2. **Install sqlit-tui:**
60
57
```bash
61
58
pipx install sqlit-tui
62
59
```
63
60
64
-
3. **Optional drivers (only if you need them):**`sqlit` will tell you what to install when a driver is missing, but you can also pre-install them. For example:
65
-
```bash
66
-
# PostgreSQL / Supabase / CockroachDB
67
-
pipx inject sqlit-tui psycopg2-binary
68
-
69
-
# MySQL
70
-
pipx inject sqlit-tui mysql-connector-python
71
-
```
72
-
73
-
### Method 2: `uv` (Alternative)
61
+
### Method 2: `uv`
74
62
75
63
`uv` is a fast, modern installer. This also keeps things isolated and makes optional drivers easy.
76
64
77
65
```bash
78
66
uv tool install sqlit-tui
79
67
```
80
68
81
-
### Method 3: `pip` (Alternative)
82
-
83
-
*(Note: To avoid dependency conflicts, installing in a virtual environment is recommended.)*
84
-
85
-
You can install `sqlit-tui` and drivers directly with `pip` using "extras". The application will guide you if a driver is missing.
86
-
If you installed Python via a system package manager (Homebrew, apt, pacman, etc.), `pip install` may be restricted;in that case, use `pipx`, `uv`, or a virtual environment.
0 commit comments