mirror of
https://github.com/steel-dev/cli.git
synced 2026-09-14 20:47:34 +08:00
chore: remove redirect flag from installation
This commit is contained in:
@@ -16,7 +16,7 @@ This package now integrates `agent-browser` directly into `steel browser`, so yo
|
||||
## Install
|
||||
|
||||
```bash
|
||||
curl -LsSf https://setup.steel.dev | sh
|
||||
curl -sSf https://setup.steel.dev | sh
|
||||
```
|
||||
|
||||
Or download directly from [GitHub Releases](https://github.com/steel-dev/cli/releases).
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@ if (existsSync(BINARY_PATH)) {
|
||||
);
|
||||
console.error("");
|
||||
console.error("Install the native binary:");
|
||||
console.error(" curl -LsSf https://setup.steel.dev | sh");
|
||||
console.error(" curl -sSf https://setup.steel.dev | sh");
|
||||
console.error("");
|
||||
console.error("Then add to your PATH:");
|
||||
console.error(' export PATH="$HOME/.steel/bin:$PATH"');
|
||||
|
||||
@@ -18,7 +18,7 @@ function main() {
|
||||
if (process.env.CI && !process.env.STEEL_FORCE_INSTALL) {
|
||||
console.log("[steel] Skipping native binary install in CI.");
|
||||
console.log(
|
||||
"[steel] Set STEEL_FORCE_INSTALL=1 to override, or use: curl -LsSf https://setup.steel.dev | sh"
|
||||
"[steel] Set STEEL_FORCE_INSTALL=1 to override, or use: curl -sSf https://setup.steel.dev | sh"
|
||||
);
|
||||
return;
|
||||
}
|
||||
@@ -41,7 +41,7 @@ function main() {
|
||||
} catch {
|
||||
console.error("[steel] Error: curl is required but not found.");
|
||||
console.error(
|
||||
"[steel] Install curl, then run: curl -LsSf https://setup.steel.dev | sh"
|
||||
"[steel] Install curl, then run: curl -sSf https://setup.steel.dev | sh"
|
||||
);
|
||||
// Don't fail npm install — just warn
|
||||
return;
|
||||
@@ -63,7 +63,7 @@ function main() {
|
||||
console.error("");
|
||||
console.error("[steel] Automatic installation failed.");
|
||||
console.error("[steel] Install manually:");
|
||||
console.error(" curl -LsSf https://setup.steel.dev | sh");
|
||||
console.error(" curl -sSf https://setup.steel.dev | sh");
|
||||
console.error("");
|
||||
console.error(
|
||||
"[steel] Or download from: https://github.com/steel-dev/cli/releases"
|
||||
|
||||
@@ -213,7 +213,7 @@ steel browser live --session <name>
|
||||
| Session not reused between commands | Use exact same `--session <name>` on every command |
|
||||
| CAPTCHA blocking | `steel browser captcha status --wait`; restart with `--stealth` |
|
||||
| Stale session / stuck state | `steel browser stop --all` then fresh named session |
|
||||
| `steel: command not found` | `curl -LsSf https://setup.steel.dev \| sh` and add `$HOME/.steel/bin` to PATH |
|
||||
| `steel: command not found` | `curl -sSf https://setup.steel.dev \| sh` and add `$HOME/.steel/bin` to PATH |
|
||||
|
||||
Full playbook: [references/troubleshooting.md](references/troubleshooting.md).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user