# Install wallpaper with Homebrew

Manage the desktop wallpaper. Version 2.3.4 via Homebrew; verified 2026-04-19.

## Install

```sh
sudo av install brew:wallpaper
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install wallpaper
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:wallpaper
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/wallpaper>
- **Version:** 2.3.4
- **Source summary:** Manage the desktop wallpaper
- **Homepage:** <https://github.com/sindresorhus/macos-wallpaper>
- **Repository:** <https://github.com/sindresorhus/macos-wallpaper>
- **Upstream docs:** <https://github.com/sindresorhus/macos-wallpaper#readme>
- **License:** MIT
- **Source archive:** <https://github.com/sindresorhus/macos-wallpaper/archive/refs/tags/v2.3.4.tar.gz>
- **Last updated:** 2026-04-19T19:39:05Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- wallpaper (cli)
- wallpaper (alias)

## Install behavior

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.3.4
- Package-manager updated: 2026-04-19
- Local data: ok
- Upstream repository: https://github.com/sindresorhus/macos-wallpaper
- Upstream latest detected: v2.3.4 (current)
## Project history and usage

macOS Wallpaper is Sindre Sorhus's focused utility and Swift package for getting and setting the desktop wallpaper on macOS. It exists in the long-running niche of command-line desktop customization, where macOS behavior around multiple screens, Spaces, dynamic wallpapers, and interval-rotating folders has historically made simple scripts brittle.

### Project history

The project was already releasing as the `wallpaper` command by 2016, when version 1.2.0 added support for desktop backgrounds configured to change on an interval. In 2018, version 2.0.0 was a notable transition: the project was rewritten in Swift, gained multiple-screen support, changed the CLI to explicit `get` and `set` subcommands, and became available as a Swift Package Manager API.

Subsequent releases track macOS platform changes rather than broad feature growth. Releases added Apple silicon support in 2022 and compatibility fixes for newer macOS versions, including macOS 26 fixes in 2025 and 2026.

### How it is used

The command is used in scripts and small automation workflows that need a stable `wallpaper get` or `wallpaper set` interface instead of direct AppleScript, Dock database, or System Events snippets. The README notes that the package handles the active wallpaper correctly even when the system wallpaper is set to a directory.

### Sources

- <https://github.com/sindresorhus/macos-wallpaper>
- <https://github.com/sindresorhus/macos-wallpaper/releases>
- <https://github.com/sindresorhus/wallpaper>
- <https://github.com/sindresorhus/wallpaper-cli>
- <https://swiftpackageindex.com/sindresorhus/macos-wallpaper>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** wallpaper
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Requirements:** macos, xcode
- **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.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [gkrellm](https://www.automicvault.com/pkg/brew/gkrellm/) - Shares av.db curated category or tags: cli, desktop, system.
- [twm](https://www.automicvault.com/pkg/brew/twm/) - Shares av.db curated category or tags: cli, desktop, system.
- [brightness](https://www.automicvault.com/pkg/brew/brightness/) - Shares av.db curated category or tags: cli, macos, system, system-utility.
- [launch](https://www.automicvault.com/pkg/brew/launch/) - Shares av.db curated category or tags: cli, macos, system, system-utility.
- [libnotify](https://www.automicvault.com/pkg/brew/libnotify/) - Shares av.db curated category or tags: cli, desktop, system.
- [m-cli](https://www.automicvault.com/pkg/brew/m-cli/) - Shares av.db curated category or tags: cli, macos, system, system-utility.
- [mist-cli](https://www.automicvault.com/pkg/brew/mist-cli/) - Shares av.db curated category or tags: cli, macos, system, system-utility.
- [shared-mime-info](https://www.automicvault.com/pkg/brew/shared-mime-info/) - Shares av.db curated category or tags: cli, desktop, system.

## Combined YAML source

View the package source record on GitHub. [combined/wallpaper.yml](https://github.com/automic-vault/db/blob/main/combined/wallpaper.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
