{"id":18411015,"url":"https://github.com/cloudlena/pacmanfile","last_synced_at":"2025-04-07T10:32:39.462Z","repository":{"id":48939987,"uuid":"319279649","full_name":"cloudlena/pacmanfile","owner":"cloudlena","description":"Manage your pacman packages declaratively","archived":false,"fork":false,"pushed_at":"2024-02-10T22:50:17.000Z","size":21,"stargazers_count":47,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-01T23:39:03.160Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloudlena.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-07T10:13:25.000Z","updated_at":"2025-02-25T09:13:10.000Z","dependencies_parsed_at":"2024-02-10T23:29:49.940Z","dependency_job_id":null,"html_url":"https://github.com/cloudlena/pacmanfile","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudlena%2Fpacmanfile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudlena%2Fpacmanfile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudlena%2Fpacmanfile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudlena%2Fpacmanfile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudlena","download_url":"https://codeload.github.com/cloudlena/pacmanfile/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247637453,"owners_count":20971134,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T03:34:55.304Z","updated_at":"2025-04-07T10:32:39.231Z","avatar_url":"https://github.com/cloudlena.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pacmanfile\n\n[![pacmanfile](https://img.shields.io/aur/version/pacmanfile?color=1793d1\u0026label=pacmanfile\u0026logo=arch-linux\u0026style=for-the-badge)](https://aur.archlinux.org/packages/pacmanfile/)\n\nPacmanfile is a tool that allows to declaratively define which packages you want to have installed via Arch Linux' [Pacman](https://wiki.archlinux.org/index.php/Pacman), [Yay](https://aur.archlinux.org/packages/yay/) or [Paru](https://github.com/morganamilo/paru) to include packages from the [AUR](https://aur.archlinux.org/).\n\n## Installation\n\nPacmanfile is available in the [AUR](https://aur.archlinux.org/packages/pacmanfile/).\n\n1. Run `paru -S pacmanfile`\n\n## Usage\n\n1. Run `pacmanfile help` to get an overview of the existing commands and flags.\n\n1. Run `pacmanfile dump` which dumps your currently explicitly installed packages into a pacmanfile.\n\n   Alternatively, you can manually create a `pacmanfile.txt` file in your `$XDG_CONFIG_HOME/pacmanfile` directory (usually `~/.config/pacmanfile`) which contains all the packages you want to have installed. Here's an example:\n\n   ```txt\n   alacritty\n   base\n   git\n   linux\n   linux-firmware\n   zsh\n   ```\n\n   You can split the file up into any number of files that match `pacmanfile*.txt` (e.g. `pacmanfile-extra.txt`).\n\n   You can add comments to pacmanfiles by starting any line with a `#`.\n\n1. Run `pacmanfile sync`. This will remove any packages that you have installed which are not listed in `pacmanfile*.txt` and install any packages that you have not yet installed but that are listed in `pacmanfile*.txt`.\n\n## Limitations\n\nPacmanfile expects its packages to be installed explicitly. In case it complains about a package not being installed, you need to change that package's installation reason to explicit by running `sudo pacman -D --asexplicit PACKAGE_NAME`.\n\nCurrently, installing groups with `pacmanfile` is not supported. The workaround is to list all the members of the group individually in your file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudlena%2Fpacmanfile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudlena%2Fpacmanfile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudlena%2Fpacmanfile/lists"}