# Install objc-run with Homebrew

Use Objective-C files for shell script-like tasks. Version 1.4 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:objc-run
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install objc-run
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:objc-run
- **Package manager:** Homebrew
- **Version:** 1.4
- **Source summary:** Use Objective-C files for shell script-like tasks
- **Homepage:** <https://github.com/iljaiwas/objc-run>
- **Repository:** <https://github.com/iljaiwas/objc-run>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- objc-run (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.4
## Project history and usage

objc-run is a shell script that compiles and executes Objective-C source files so they can be used for small macOS scripting-style tasks without creating an Xcode project. Its README describes it as suitable for jobs such as manipulating plist files and as similar to CodeRunner without a user interface.

### Project history

The GitHub repository was created on 2014-01-03, with a short burst of activity through early 2014 and tags from 1.0 to 1.4. The repository metadata recorded the last push on 2014-02-10, making it a compact, stable script rather than a long-running framework.

The project wrapped the native Objective-C compiler flow behind a single executable and added two conveniences: shebang-style execution with `#!/usr/bin/env objc-run`, and CocoaPods integration by embedding a Podfile section inside a C comment in the Objective-C source file.

### Adoption history

The GitHub repository metadata recorded 424 stars and 13 forks, which is meaningful for a single shell script in the Objective-C tooling niche. Homebrew core packaged version 1.4 as a macOS-only formula with one executable and recorded 31 installs over 365 days in the 2026-07-01 formula JSON.

### How it is used

A user runs `objc-run myfile.m arg1 arg2`; the script compiles `myfile.m` into a temporary application named after the source file, launches it with the remaining arguments, and removes the compiled output after execution. With a shebang line and executable bit, the `.m` file can be invoked directly from the terminal.

The CocoaPods feature made the script more useful for small Objective-C programs that wanted third-party libraries without a full project setup: the source file could include pod declarations between `podfile-start` and `podfile-end` markers.

### Why package nerds care

objc-run is a small but telling package: it treats Objective-C as a shell-scripting language for Mac automation. For av.db, it belongs with developer conveniences that expose a platform compiler in one command rather than building a new language runtime or project template.

### Timeline

- 2014-01-03: the public GitHub repository was created.
- 2014-02-10: GitHub API metadata recorded the repository's last push.
- 2026-07-01: Homebrew core formula metadata listed stable version 1.4.

### Related projects

- objc-run is tied to clang/Xcode command-line compilation, CocoaPods, macOS Foundation/Cocoa scripting, and small Objective-C command-line programs. It overlaps in spirit with tools such as CodeRunner, but it stays as a terminal script.

### Sources

- <https://api.github.com/repos/iljaiwas/objc-run>
- <https://api.github.com/repos/iljaiwas/objc-run/tags>
- <https://formulae.brew.sh/api/formula/objc-run.json>
- <https://github.com/iljaiwas/objc-run>
- <https://raw.githubusercontent.com/iljaiwas/objc-run/master/ReadMe.md>


## Security Notes

generalized runtime or code generation signal.

- **Geiger risk:** yellow / medium
- generalized runtime or code generation signal


## Combined YAML source

View the package source record on GitHub. [combined/objc-run.yml](https://github.com/mxcl/pkgdb/blob/main/combined/objc-run.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
