Skip to content

Commit e406e0e

Browse files
docs: add cargo install --path . instructions
1 parent f5adb88 commit e406e0e

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Get up and running in minutes:
3333
# 1. Clone and build
3434
git clone https://github.com/sfcompute/hardware_report.git
3535
cd hardware_report
36-
nix build
36+
cargo build
3737

3838
# 2. Run hardware discovery
3939
sudo ./result/bin/hardware_report
@@ -75,7 +75,15 @@ nix develop
7575
cargo build --release
7676
```
7777

78-
### Option 3: Traditional Cargo Build
78+
### Option 3: Cargo Install
79+
80+
```bash
81+
git clone https://github.com/sfcompute/hardware_report.git && cd hardware_report
82+
cargo install --path .
83+
sudo hardware_report
84+
```
85+
86+
### Option 4: Traditional Cargo Build
7987

8088
**Ubuntu/Debian:**
8189
```bash

0 commit comments

Comments
 (0)