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:
mohammad junayd 2026-09-14 18:14:51 +04:00
parent a91b390b44
commit aaae1a76ef
2 changed files with 3 additions and 2 deletions

View file

@ -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">

View file

@ -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
}