···2222irm https://raw.githubusercontent.com/RivoLink/leaf/main/scripts/install.ps1 | iex
2323```
24242525+npm:
2626+2727+```bash
2828+npm install -g @rivolink/leaf
2929+```
3030+2531Verify the installation:
26322733```bash
···30363137## Update
32383333-Update an existing installation to the latest published release:
3939+Update an existing installation to the latest published release.
4040+4141+Self:
34423543```bash
3644leaf --update
···3947`leaf --update` downloads the matching published asset, verifies it against the published `checksums.txt` SHA256, and then installs it.
40484149On Windows, if replacing the running `.exe` is blocked by the OS, rerun the PowerShell installer from the install section.
5050+5151+npm:
5252+5353+```bash
5454+npm update -g @rivolink/leaf
5555+```
42564357## Build
4458···193207```powershell
194208Remove-Item "$env:LOCALAPPDATA\Programs\leaf\leaf.exe" -Force
195209```
210210+211211+npm:
212212+213213+```bash
214214+npm uninstall -g @rivolink/leaf
215215+```