objc-run
« Back to VersTracker
Description:
Use Objective-C files for shell script-like tasks
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: objective-c shell-scripting macos developer-tools cli
Install: brew install objc-run
About:
ObjcRun is a command-line utility that allows developers to write shell scripts using Objective-C syntax. It compiles and executes Objective-C code on-the-fly, providing access to macOS frameworks and libraries directly from the command line. This tool bridges the gap between shell scripting and native macOS development.
Key Features:
  • Execute Objective-C code directly from the command line
  • Access to full macOS frameworks and Foundation classes
  • No need to create full Xcode projects for small tasks
  • Useful for scripting tasks that require native macOS APIs
Use Cases:
  • Rapid prototyping of Objective-C code snippets
  • Accessing macOS APIs from shell scripts
  • Automating macOS system tasks with native code
Alternatives:
  • Swift Scripting – Swift offers similar capabilities with modern syntax but requires more setup
  • Python with PyObjC – Python provides Objective-C bindings but with overhead and less native feel
Version History
Detected Version Rev Change Commit