# 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
- **Package manager page:** <https://formulae.brew.sh/formula/objc-run>
- **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>
- **Upstream docs:** <https://github.com/iljaiwas/objc-run#readme>
- **License:** MIT
- **Source archive:** <https://github.com/iljaiwas/objc-run/archive/refs/tags/1.4.tar.gz>
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- objc-run (cli)
- objc-run (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.4
- Local data: ok
- Upstream repository: https://github.com/iljaiwas/objc-run
- Upstream latest detected: 1.4 (current)
- info: No package-manager update timestamp was available.
## 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

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** objc-run
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Requirements:** macos
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [rust-script](https://www.automicvault.com/pkg/brew/rust-script/) - Shares av.db curated category or tags: cli, developer-tools, scripting.
- [gnustep-base](https://www.automicvault.com/pkg/brew/gnustep-base/) - Shares av.db curated category or tags: cli, developer-tools, objective-c.
- [scriptisto](https://www.automicvault.com/pkg/brew/scriptisto/) - Shares av.db curated category or tags: cli, developer-tools, scripting.
- [swift-sh](https://www.automicvault.com/pkg/brew/swift-sh/) - Shares av.db curated category or tags: cli, developer-tools, scripting.
- [zx](https://www.automicvault.com/pkg/brew/zx/) - Shares av.db curated category or tags: cli, developer-tools, scripting.
- [gptscript](https://www.automicvault.com/pkg/brew/gptscript/) - Shares av.db curated category or tags: cli, developer-tools, scripting.
- [mogenerator](https://www.automicvault.com/pkg/brew/mogenerator/) - Shares av.db curated category or tags: cli, developer-tools, macos, objective-c.
- [zapp](https://www.automicvault.com/pkg/brew/zapp/) - Shares av.db curated category or tags: cli, developer-tools, macos.
- [objc-codegenutils](https://www.automicvault.com/pkg/brew/objc-codegenutils/) - Package names and metadata indicate a similar tool family. Shared terms: cli, developer, developer-tools, objc, objective.
- [ccls](https://www.automicvault.com/pkg/brew/ccls/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, objc, objective.
- [configen](https://www.automicvault.com/pkg/brew/configen/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, objective, objective-c.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
