Skip to content

Conversation

@raunit-dev
Copy link

Problem

The current documentation shows an incorrect installation command for the Rust SDK:

$ cargo install lighthouse-sdk 

This command fails because lighthouse-sdk v2.0.0 is a library crate, not a binary program.

Solution

Updated the documentation to use the correct command:

$ cargo add lighthouse-sdk

Before (Current Docs):
Screenshot 2025-09-16 at 4 47 03 PM

Error when following current docs:
Screenshot 2025-09-16 at 4 48 23 PM

The error clearly states: there is nothing to install in 'lighthouse-sdk v2.0.0', because it has no binaries. 'cargo install' is only for installing programs, and can't be used with libraries.

fix:

Screenshot 2025-09-16 at 5 18 08 PM

Impact

This fix will prevent confusion for new developers trying to integrate Lighthouse into their Rust projects and reduce support requests about installation issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant