devbox icon indicating copy to clipboard operation
devbox copied to clipboard

Add plandex - command line AI tool

Open nick4eva opened this issue 1 year ago • 2 comments

Could you please add plandex AI tool? https://github.com/plandex-ai

nick4eva avatar Apr 06 '24 05:04 nick4eva

Hey @nick4eva thanks for suggesting this. Plandex seems like a cool CLI tool to use. Devbox supports installing packages that are one of 3 categories:

  1. part of Nix packages (i.e., if they can be found in nixhub.io search).
  2. are a github repository with a flake.nix file.
  3. are a local directory with a flake.nix file.
  4. (we're working on adding support for installing any github package, but it's not ready yet).

So for Devbox to be able to install Plandex, either Plandex needs to have a flake.nix file in its repo. In that case you can install it with devbox add github:plandex-ai/plandex. Or you can clone Plandex's repo, write a flake.nix file for it. Then install it with devbox add path:../plandex-ai/plandex.

But both these cases require having a bit of background about nix and flake files for nix. Let me know if you need help with that. These 2 resources are a good place to start: https://www.tweag.io/blog/2020-05-25-flakes/ https://nixos.org/manual/nix/stable/command-ref/new-cli/nix3-flake

mohsenari avatar Apr 06 '24 19:04 mohsenari

Hey @mohsenari. Thanks for guidance. I'll have a look.

nick4eva avatar Apr 07 '24 11:04 nick4eva