How can I inspect an install.sh script before running it?
Short answer
Download the installer to a file, inspect it, verify its published checksum or signature when available, and review the commands that change system state. Avoid piping an unreviewed remote script directly into a privileged shell.
Practical guidance
Example inspection commands: less install.sh, grep -nE "curl|wget|sudo|rm |docker|chmod" install.sh, and sha256sum install.sh. A checksum only proves integrity if its expected value comes from a trusted source.
Related reading
Bitcoin Core RPC command reference
https://bitcoincore.org/en/doc/
