# Install asar with Homebrew, MacPorts, Nix, pacman, zypper

SNES assembler for applying patches to ROM images or building ROMs. Version 1.91 via Homebrew; verified 2026-06-30. Also installable with nix: nix profile install nixpkgs#asar.

## Install

```sh
sudo av install brew:asar
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install asar
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install asar
```

  Evidence: MacPorts ports tree: archivers/asar/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#asar
```

  Evidence: nixpkgs package indexes: pkgs/by-name/as/asar/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S asar
```

  Evidence: Arch Linux sync databases: asar from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install asar
```

  Evidence: openSUSE Tumbleweed package metadata: asar from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:asar
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/asar>
- **Version:** 1.91
- **Source summary:** SNES assembler for applying patches to ROM images or building ROMs
- **Homepage:** <https://github.com/RPGHacker/asar>
- **Repository:** <https://github.com/RPGHacker/asar>
- **Upstream docs:** <https://github.com/RPGHacker/asar#readme>
- **License:** LGPL-2.0-or-later
- **Source archive:** <https://github.com/RPGHacker/asar/archive/refs/tags/v1.91.tar.gz>
- **Last updated:** 2026-06-30T05:26:09Z
- **Generated:** 2026-07-25T07:20:51+00:00

## Executables

- asar (cli)
- asar (alias)

## Build dependencies

- cmake
- make

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-25
- Package-manager version: 1.91
- Package-manager updated: 2026-06-30
- Local data: ok
- Upstream repository: https://github.com/RPGHacker/asar
- Upstream latest detected: v1.91 (current)
## Project history and usage

Asar is an SNES assembler used to apply patches to existing ROM images or create new ROM images from scratch.

### Project history

The official README says Asar was originally created by Alcaro and modeled after byuu's xkas v0.06. The GitHub repository metadata describes the RPGHacker repository as the now-official home.

### Adoption history

The project publishes GitHub releases and is packaged by several Unix package managers in the supplied Homebrew-derived facts, reflecting use beyond manual downloads in ROM-hacking workflows.

### How it is used

Asar supports 65c816, SPC700, and Super FX assembly, can be run as a command-line patching tool, and can also be built as a DLL or static library for embedding in other tools.

### Why package nerds care

Asar matters to package collectors because it is niche but practical: a retro-console assembler with official manuals, binary releases, and distro packaging despite serving a specialized ROM-hacking audience.

### Timeline

- 2017: Official GitHub repository created.
- 2018: v1.60 beta 1 appears in GitHub releases.
- 2024: v1.91 appears in GitHub releases.

### Related projects

- xkas, SNES ROM hacking tools, SMW Central tooling

### Sources

- <https://api.github.com/repos/RPGHacker/asar>
- <https://github.com/RPGHacker/asar#readme>
- <https://github.com/RPGHacker/asar/blob/master/README.txt>


## Security Notes

No matching local secret-handling manifest was found for asar. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

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

## Other Package-Manager Records

- Nix - asar: normalized package name match | nixpkgs package indexes: pkgs/by-name/as/asar/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - asar - 4.2.0-1: normalized package name match | Arch Linux sync databases: asar from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Creating Electron app packages | https://github.com/electron/asar
- zypper - asar - 4.0.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: asar from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Creating atom-shell (electron) app packages | https://github.com/electron/asar
- MacPorts - asar: normalized package name match | MacPorts ports tree: archivers/asar/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [make](https://www.automicvault.com/pkg/brew/make/) - Build dependency declared by Homebrew.
- [acme](https://www.automicvault.com/pkg/brew/acme/) - Shares av.db curated category or tags: assembler, cli, developer-tools.
- [asm6809](https://www.automicvault.com/pkg/brew/asm6809/) - Shares av.db curated category or tags: assembler, cli, developer-tools, retrocomputing.
- [dasm](https://www.automicvault.com/pkg/brew/dasm/) - Shares av.db curated category or tags: assembler, cli, developer-tools, retrocomputing.
- [nasm](https://www.automicvault.com/pkg/brew/nasm/) - Shares av.db curated category or tags: assembler, cli, developer-tools.
- [aarch64-elf-binutils](https://www.automicvault.com/pkg/brew/aarch64-elf-binutils/) - Shares av.db curated category or tags: assembler, cli, developer-tools.
- [arm-linux-gnueabihf-binutils](https://www.automicvault.com/pkg/brew/arm-linux-gnueabihf-binutils/) - Shares av.db curated category or tags: assembler, cli, developer-tools.
- [arm-none-eabi-binutils](https://www.automicvault.com/pkg/brew/arm-none-eabi-binutils/) - Shares av.db curated category or tags: assembler, cli, developer-tools.
- [atasm](https://www.automicvault.com/pkg/brew/atasm/) - Shares av.db curated category or tags: assembler, cli, developer-tools.
- [wla-dx](https://www.automicvault.com/pkg/brew/wla-dx/) - Local package facts share a topical domain. Shared terms: assembler, cli, developer, developer-tools, retrocomputing.
- [avra](https://www.automicvault.com/pkg/brew/avra/) - Local package facts share a topical domain. Shared terms: assembler, cli, developer, developer-tools.
- [keystone](https://www.automicvault.com/pkg/brew/keystone/) - Local package facts share a topical domain. Shared terms: assembler, cli, developer, developer-tools.

## Combined YAML source

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


## Sources

- Nucleus package database
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
