Installation¶
Logseq Doctor provides both Go and Python implementations. You can install either or both depending on your needs.
Go Binary Executable¶
macOS and Linux (Homebrew)¶
The recommended way for macOS and Linux is to install with Homebrew:
Manual Installation¶
You can install manually using Go:
Confirm if it's in your path:
Tip
Make sure your GOPATH/bin directory is in your system's PATH. You can add it to your shell profile:
```bash
export PATH="$PATH:$(go env GOPATH)/bin"
```
Python Executable¶
The recommended way is to install logseq-doctor globally with pipx:
You can also install the development version with:
You will then have the lqdpy command available globally in your system.
Alternative: pip¶
If you prefer to use pip:
Warning
Installing with pip may conflict with other Python packages in your system. We recommend using pipx instead.
Build from Source¶
To build and install from the source (both Python and Go executables), clone the repository and run:
This will:
- Set up a Python virtual environment
 - Install Python dependencies
 - Build the Go binary
 - Install both executables
 
Verify Installation¶
Python CLI¶
Go CLI¶
You should see the help message with available commands.
You should see the help message with available commands.
Next Steps¶
Once installed, check out the Usage Guide to learn how to use Logseq Doctor.