How do I use the LBRY command line interface (CLI) tool?
As a power user, you may want to run your own commands against the LBRY SDK. This guide explains how to run any available commands from the LBRY SDK documentation. You must be running the LBRY app or daemon in order to interact with the protocol.
Windows
- Open a Command Prompt application window
- Type
cd "C:\Program Files\LBRY\resources\static\daemon"
([32-bit located in Program Files(x86)]) and click Enter - Type
lbrynet status
and click Enter. This will return the LBRYnet status data - See examples below or LBRY SDK documentation for additional commands
MacOS
- Open a Terminal window
- Type
cd /Applications/LBRY.app/Contents/Resources/static/daemon
- Type
./lbrynet status
and click Enter. This will return the LBRYnet status data - See examples below or LBRY SDK documentation for additional commands
Ubuntu / Linux
- Open a Terminal window
- Type
cd /opt/LBRY/resources/static/daemon
- Type
./lbrynet status
and click Enter. This will return the LBRYnet status data - See examples below or LBRY SDK documentation for additional commands
Common/sample commands
lbrynet claim list
- Show list of own claims, including channelslbrynet support create --claim_id=<claimid> --amount=5.0
- add 5 LBC to a claim or channellbrynet resolve one
- Retrieve information about winning claim at lbry://onelbrynet claim search one
- Retrieve information about all claims at lbry://onelbrynet stream abandon --claim_id=<claimid>
- Abandon stream claim by claim id (from claim info)
See a mistake? Edit this page on GitHub.