Skip to content
This repository was archived by the owner on Dec 27, 2025. It is now read-only.

Commit 00d42b9

Browse files
committed
docs: update README with install.sh usage
Add Quick Install section with environment variable documentation and remove redundant "Using Deno" section.
1 parent 0e5494b commit 00d42b9

File tree

1 file changed

+18
-7
lines changed

1 file changed

+18
-7
lines changed

README.md

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,28 @@ Command-line interface for
1111

1212
## Installation
1313

14-
#### Using Deno
14+
### Quick Install
15+
16+
Requires [Deno](https://deno.land/) v2.x or later.
1517

1618
```bash
17-
deno install -grAf -n probitas jsr:@probitas/cli
19+
curl -fsSL https://jsr.io/@probitas/cli/install.sh | sh
1820
```
1921

20-
- `-g` Global install
21-
- `-r` Reload cache (fetch latest version)
22-
- `-A` All permissions
23-
- `-f` Force overwrite existing
24-
- `-n probitas` Command name
22+
**Environment variables:**
23+
24+
| Variable | Description | Default |
25+
| ---------------------- | ---------------------- | ------------- |
26+
| `PROBITAS_VERSION` | Version to install | latest |
27+
| `PROBITAS_INSTALL_DIR` | Installation directory | `~/.deno/bin` |
28+
29+
```bash
30+
# Install specific version
31+
curl -fsSL https://jsr.io/@probitas/cli/install.sh | PROBITAS_VERSION=0.1.0 sh
32+
33+
# Install to custom directory
34+
curl -fsSL https://jsr.io/@probitas/cli/install.sh | PROBITAS_INSTALL_DIR=/usr/local sh
35+
```
2536

2637
### Using Nix
2738

0 commit comments

Comments
 (0)