Skip to content

Commit acd5661

Browse files
committed
add more commands to readme
1 parent 3311695 commit acd5661

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,15 @@ curl -fsSL https://karate.sh/install.sh | sh
1414
irm https://karate.sh/install.ps1 | iex
1515
```
1616

17+
**One-shot install** (downloads CLI + JRE + Karate JAR immediately):
18+
```bash
19+
# macOS / Linux
20+
curl -fsSL https://karate.sh/install.sh | sh -s -- --all
21+
22+
# Windows (PowerShell)
23+
iex "& { $(irm https://karate.sh/install.ps1) } -All"
24+
```
25+
1726
## Quick Start
1827

1928
```bash
@@ -33,8 +42,12 @@ karate doctor
3342
|---------|-------------|
3443
| `karate setup` | Interactive setup wizard |
3544
| `karate setup --all` | Non-interactive setup (JAR + JRE) |
45+
| `karate setup --item jar` | Install JAR only (use system JRE) |
46+
| `karate setup --item jre` | Install JRE only |
3647
| `karate update` | Check for and install updates |
48+
| `karate update --all` | Update all components non-interactively |
3749
| `karate doctor` | System diagnostics |
50+
| `karate doctor --json` | JSON output (for CI/scripts) |
3851
| `karate version` | Show version info |
3952

4053
To update the CLI itself, re-run the install command.

0 commit comments

Comments
 (0)