Sinister is a simple, robust installer for your shell scripts.
- Cross platform: Works on both Unix and Windows
- chmods your script so it's executable from the get-go
- Adds your script to $PATH so you can use it right away
- Install-free: Your user doesn't need to install anything (besides your script)
- Supports both per-user and machine-wide installation
- Can use Wget or cURL as its backend
- Customizable and easily overridable behavior
Copy and paste this into your project's README:
To install <my awesome script>, run
sh <(curl -sSL http://git.io/sinister) -u http://url.to/your/script
Alternatively, if you're targeting systems that don't have Bash/cURL installed, you can use this instead:
wget -q -O - http://git.io/sinister | sh -s -- -u http://url.to/your/script
Sinister is written in pure sh, so it's completely fine without Bash.
Specify the -o
and -n
options:
sinister -o output/dir -n file.name
sinister --local
Yes, you can. Pass in the --chmod
flag:
sinister --chmod 755
Here are some example projects that use Sinister:
Contributors are welcome! Please feel free to report bugs or make pull requests to this repo.
Sinister is licensed under the BSD simplified license.