Skip to content

Commit e922c3e

Browse files
committed
docs: fix nix-shell usage
1 parent 6b47c83 commit e922c3e

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,19 @@ A minimalist, agent-centric PDF signing utility written in Rust utilizing. It ge
66

77
### Zero-Install Execution
88

9-
Leverage `nix-shell` to pull dependencies, compile, and execute the artifact ephemerally directly from the source URL.
9+
Download the script and execute it. The `nix-shell` shebang will provision dependencies automatically.
1010

1111
```bash
12-
nix-shell \
13-
https://raw.githubusercontent.com/0x77dev/pdf-sign/main/pdf-sign.rs \
14-
-- sign document.pdf --key 0xDEADBEEF
12+
curl -fsSL https://raw.githubusercontent.com/0x77dev/pdf-sign/main/pdf-sign.rs -o pdf-sign.rs
13+
chmod +x pdf-sign.rs
14+
./pdf-sign.rs sign document.pdf --key 0xDEADBEEF
1515
```
1616

1717
### Local Execution
1818

19-
Ensure the script is executable. The shebang handles the rest.
19+
If you already have `pdf-sign.rs` locally, ensure it's executable. The shebang handles the rest.
2020

2121
```bash
22-
curl -fsSL https://raw.githubusercontent.com/0x77dev/pdf-sign/main/pdf-sign.rs -o pdf-sign.rs
2322
chmod +x pdf-sign.rs
2423
./pdf-sign.rs sign input.pdf --key 0xDEADBEEF
2524
```

0 commit comments

Comments
 (0)