mirror of
https://github.com/usestrix/strix.git
synced 2026-09-24 00:51:20 +00:00
docs(install): put STRIX_INSTALL_SKIP_VERIFY on bash, not curl
Env vars before curl do not reach the piped bash process, so the documented override never skipped verification (#1267).
This commit is contained in:
parent
a91b390b44
commit
aaae1a76ef
2 changed files with 3 additions and 2 deletions
|
|
@ -20,7 +20,7 @@ description: "Install Strix and run your first security scan"
|
|||
Sigstore provenance before extracting. To skip those checks (not recommended):
|
||||
|
||||
```bash
|
||||
STRIX_INSTALL_SKIP_VERIFY=1 curl -sSL https://strix.ai/install | bash
|
||||
curl -sSL https://strix.ai/install | STRIX_INSTALL_SKIP_VERIFY=1 bash
|
||||
```
|
||||
</Tab>
|
||||
<Tab title="pipx">
|
||||
|
|
|
|||
|
|
@ -143,7 +143,8 @@ abort_unverified() {
|
|||
if [[ -x "$INSTALL_DIR/strix" || -x "$INSTALL_DIR/strix.exe" ]]; then
|
||||
echo -e "${MUTED}Existing Strix installation left unchanged.${NC}"
|
||||
fi
|
||||
echo -e "${RED}Re-run with STRIX_INSTALL_SKIP_VERIFY=1 to override (at your own risk).${NC}"
|
||||
echo -e "${RED}Re-run with: curl -sSL https://strix.ai/install | STRIX_INSTALL_SKIP_VERIFY=1 bash${NC}"
|
||||
echo -e "${MUTED}(at your own risk)${NC}"
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue