docs(readme): update install path to ~/.local/bin for auto-updates
- commit
- 000ca5b816014cbd858b77505e7ba6cb91c4c3fc
- author
- bnema · · 2025-12-25 17:38 UTC
- parent
- 33318b5
- signature
- GPG Unverified
2B82207D370127A0The key is unknown
1 file · +14 -14
M README.md +14 -14
| @@ -117,12 +117,19 @@ All zoom changes are automatically persisted per-domain and restored on next vis | |||
| 117 | 117 | ||
| 118 | 118 | Download the latest release from the [releases page](https://github.com/bnema/dumber/releases): | |
| 119 | 119 | ```bash | |
| 120 | - | wget https://github.com/bnema/dumber/releases/latest/download/dumber_<version>_linux_x86_64.tar.gz | |
| 121 | - | tar -xzf dumber_<version>_linux_x86_64.tar.gz | |
| 122 | - | sudo install -m 755 dumber /usr/local/bin/ | |
| 120 | + | # Download latest release | |
| 121 | + | wget https://github.com/bnema/dumber/releases/latest/download/dumber_linux_x86_64.tar.gz | |
| 122 | + | ||
| 123 | + | # Extract and install to ~/.local/bin (enables auto-updates) | |
| 124 | + | tar -xzf dumber_linux_x86_64.tar.gz | |
| 125 | + | mkdir -p ~/.local/bin | |
| 126 | + | install -m 755 dumber_*/dumber ~/.local/bin/ | |
| 127 | + | ||
| 128 | + | # Ensure ~/.local/bin is in your PATH (add to ~/.bashrc or ~/.zshrc if needed) | |
| 129 | + | # export PATH="$HOME/.local/bin:$PATH" | |
| 123 | 130 | ``` | |
| 124 | 131 | ||
| 125 | - | Then install runtime dependencies (see [Install](#install) section for details). | |
| 132 | + | Then install runtime dependencies (see [Dependencies](#dependencies) section below). | |
| 126 | 133 | ||
| 127 | 134 | **Option 2: Build From Source** | |
| 128 | 135 | ||
| @@ -151,18 +158,11 @@ Development: | |||
| 151 | 158 | ||
| 152 | 159 | ### Pre-built Binaries (Recommended) | |
| 153 | 160 | ||
| 154 | - | Pre-built binaries are available for Linux (x86_64/amd64) in the [releases page](https://github.com/bnema/dumber/releases). These include all frontend assets and are ready to use: | |
| 155 | - | ||
| 156 | - | ```bash | |
| 157 | - | # Download and install latest release | |
| 158 | - | wget https://github.com/bnema/dumber/releases/latest/download/dumber_<version>_linux_x86_64.tar.gz | |
| 159 | - | tar -xzf dumber_<version>_linux_x86_64.tar.gz | |
| 160 | - | sudo install -m 755 dumber /usr/local/bin/ | |
| 161 | - | ``` | |
| 161 | + | Pre-built binaries are available for Linux (x86_64/amd64) in the [releases page](https://github.com/bnema/dumber/releases). See [Quick Start](#quick-start) for installation instructions. | |
| 162 | 162 | ||
| 163 | - | Replace `<version>` with the desired version (e.g., `0.14.1`), or use the direct link from the releases page. | |
| 163 | + | ### Dependencies | |
| 164 | 164 | ||
| 165 | - | **Dependencies** (required for both pre-built binaries and source builds): | |
| 165 | + | Required for both pre-built binaries and source builds: | |
| 166 | 166 | ||
| 167 | 167 | **Arch Linux:** | |
| 168 | 168 | ```bash | |
| @@ -117,12 +117,19 @@ All zoom changes are automatically persisted per-domain and restored on next vis | |||||
| 117 | 117 | ||||
| 118 | Download the latest release from the [releases page](https://github.com/bnema/dumber/releases): | 118 | Download the latest release from the [releases page](https://github.com/bnema/dumber/releases): | ||
| 119 | ```bash | 119 | ```bash | ||
| 120 | - | wget https://github.com/bnema/dumber/releases/latest/download/dumber_<version>_linux_x86_64.tar.gz | 120 | + | # Download latest release |
| 121 | - | tar -xzf dumber_<version>_linux_x86_64.tar.gz | 121 | + | wget https://github.com/bnema/dumber/releases/latest/download/dumber_linux_x86_64.tar.gz |
| 122 | - | sudo install -m 755 dumber /usr/local/bin/ | 122 | + | |
| 123 | + | # Extract and install to ~/.local/bin (enables auto-updates) | |||
| 124 | + | tar -xzf dumber_linux_x86_64.tar.gz | |||
| 125 | + | mkdir -p ~/.local/bin | |||
| 126 | + | install -m 755 dumber_*/dumber ~/.local/bin/ | |||
| 127 | + | ||||
| 128 | + | # Ensure ~/.local/bin is in your PATH (add to ~/.bashrc or ~/.zshrc if needed) | |||
| 129 | + | # export PATH="$HOME/.local/bin:$PATH" | |||
| 123 | ``` | 130 | ``` | ||
| 124 | 131 | ||||
| 125 | - | Then install runtime dependencies (see [Install](#install) section for details). | 132 | + | Then install runtime dependencies (see [Dependencies](#dependencies) section below). |
| 126 | 133 | ||||
| 127 | **Option 2: Build From Source** | 134 | **Option 2: Build From Source** | ||
| 128 | 135 | ||||
| @@ -151,18 +158,11 @@ Development: | |||||
| 151 | 158 | ||||
| 152 | ### Pre-built Binaries (Recommended) | 159 | ### Pre-built Binaries (Recommended) | ||
| 153 | 160 | ||||
| 154 | - | Pre-built binaries are available for Linux (x86_64/amd64) in the [releases page](https://github.com/bnema/dumber/releases). These include all frontend assets and are ready to use: | 161 | + | Pre-built binaries are available for Linux (x86_64/amd64) in the [releases page](https://github.com/bnema/dumber/releases). See [Quick Start](#quick-start) for installation instructions. |
| 155 | - | ||||
| 156 | - | ```bash | |||
| 157 | - | # Download and install latest release | |||
| 158 | - | wget https://github.com/bnema/dumber/releases/latest/download/dumber_<version>_linux_x86_64.tar.gz | |||
| 159 | - | tar -xzf dumber_<version>_linux_x86_64.tar.gz | |||
| 160 | - | sudo install -m 755 dumber /usr/local/bin/ | |||
| 161 | - | ``` | |||
| 162 | 162 | ||||
| 163 | - | Replace `<version>` with the desired version (e.g., `0.14.1`), or use the direct link from the releases page. | 163 | + | ### Dependencies |
| 164 | 164 | ||||
| 165 | - | **Dependencies** (required for both pre-built binaries and source builds): | 165 | + | Required for both pre-built binaries and source builds: |
| 166 | 166 | ||||
| 167 | **Arch Linux:** | 167 | **Arch Linux:** | ||
| 168 | ```bash | 168 | ```bash | ||