shc
« Back to VersTracker
Description:
Shell Script Compiler
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: shell compiler obfuscation security developer-tools
Install: brew install shc
About:
Shc is a shell script compiler that converts shell scripts into C source code. This compiled binary is then compiled by a C compiler, making the script a standalone executable. The primary value is obfuscating the script's source code and potentially improving execution speed.
Key Features:
  • Converts shell scripts to C code
  • Creates standalone executables
  • Provides script source obfuscation
  • Supports various shells (bash, sh, etc.)
Use Cases:
  • Protecting proprietary shell scripts from end-user viewing
  • Distributing shell tools as single binaries without dependencies
  • Preventing accidental modification of critical deployment scripts
Alternatives:
  • shc-enc – A fork of shc with updated encryption algorithms
  • BusyBox – Embeds shell scripts inside a larger binary, but does not compile them to C
Version History
Detected Version Rev Change Commit
Sep 16, 2025 10:17am 0 VERSION_BUMP 0b7b1f88
Sep 14, 2024 6:41pm 0 VERSION_BUMP 91e6ab49