As others said above, since Apple restricts the downloading if executable code, I usually just copy/paste the code in, or use Shellista to import from GitHub.