Package Details: pi-coding-agent-bin 1.5.2-1

Git Clone URL: https://aur.archlinux.org/pi-coding-agent-bin.git (read-only, click to copy)
Package Base: pi-coding-agent-bin
Description: Coding agent CLI with read, bash, edit, write tools and session management (prebuilt binary)
Upstream URL: https://github.com/earendil-works/pi
Licenses: MIT
Conflicts: pi-coding-agent, pi-coding-agent-git
Provides: pi, pi-coding-agent
Submitter: bhyoo
Maintainer: bhyoo (dcreager)
Last Packager: bhyoo
Votes: 24
Popularity: 2.97
First Submitted: 2026-07-18 07:55 (UTC)
Last Updated: 2026-11-10 13:14 (UTC)

Dependencies (5)

Required by (25)

Sources (3)

Latest Comments

1 2 Next › Last »

svenstaro commented on 2026-09-21 02:05 (UTC)

The pi-coding-agent package got merged into pi. Are you guys fine with merging this package (pi-coding-agent-bin) into pi-bin for consistency? Also, this is a duplicated with pi-bin anyway so we'll have to find a way as we don't like dups on the AUR.

I'm posting a similar message on pi-bin as well. Hopefully you guys can work something out.

gilcu3 commented on 2026-08-01 11:13 (UTC)

@dcreager would you consider renaming the executable from pi to pi-agent or pi-coding-agent? Currently this package collides with https://archlinux.org/packages/extra/x86_64/cln/

evorster commented on 2026-06-18 11:34 (UTC) (edited on 2026-06-18 11:34 (UTC) by evorster)

There IS a way of having the npm dependencies inside the package, all tracked by pacman.

Hermes-agent does exactly this: It calls npm install during the build(), and then copies the node_modules during package(). This avoids having to modify the stock install with a prefix, and also keeps track of all the npm parts. As a side benefit, the npm dependencies are updated when the package is updated.

bugabinga commented on 2026-05-21 19:59 (UTC)

@clouedoc

I finally found my preferred fix! In ~/.pi/agent/settings.json add: json "npmCommand": [ "npm", "--prefix", "/home/<your user name>/.local" ] Pi runs roughly:

text npm --prefix /home/<your user name>/.local install -g pi-agent-flow

dcreager commented on 2026-05-15 19:16 (UTC)

@uriel Good call, done!

uriel commented on 2026-05-15 16:58 (UTC)

Updating the url from: https://github.com/badlogic/pi-mono to: https://github.com/earendil-works/pi

might be a wise idea even though github reserves old usernames

paulodiovani commented on 2026-05-01 16:22 (UTC)

nitpick: the new website is https://pi.dev

bugabinga commented on 2026-04-30 06:10 (UTC)

@clouedoc thanks, a prefix for npm sounds perfect to me. Installing global npm packages with sudo is just... too scary to me.

@korbireischl thanks for the tip. I use mise right now and configured pi to use a node runtime via that. I will look into that.

korbireischl commented on 2026-04-22 16:23 (UTC)

@clouedoc @bugabinga If you use a node manager like nvm or fnm, node and global packages are installed in your home directory. So pi install npm:xxx won’t run into permission issues.

clouedoc commented on 2026-04-17 11:50 (UTC)

@bugabinga I figured out a clean fix for the permission issue.

The problem is that pi install npm:xxx runs npm install -g under the hood, which targets /usr/lib/node_modules/ (which is only writeable by root).

The fix is to redirect npm's global prefix to a user-owned directory:

bash mkdir -p ~/.npm-global npm config set prefix ~/.npm-global

Then add ~/.npm-global/bin to your PATH. For fish:

fish fish_add_path ~/.npm-global/bin

For bash/zsh, add to your .bashrc / .zshrc:

bash export PATH="$HOME/.npm-global/bin:$PATH"

After that, pi install npm:xxx just works.