Directory "commands" typo error #2691

Closed
opened 2026-02-16 17:36:51 -05:00 by yindo · 2 comments
Owner

Originally created by @InfiniteVoidLoop on GitHub (Nov 8, 2025).

Originally assigned to: @rekram1-node on GitHub.

Description

Error: Directory "commands" in /home/phuc/.config/opencode is not valid. Use "command" instead. This is a common typo.

OpenCode version

1.0.45

Steps to reproduce

  1. paru -S opencode-bin
  2. opencode

Screenshot and/or share link

Image

Operating System

Arch x86_64

Terminal

Alacritty

Originally created by @InfiniteVoidLoop on GitHub (Nov 8, 2025). Originally assigned to: @rekram1-node on GitHub. ### Description Error: Directory "commands" in /home/phuc/.config/opencode is not valid. Use "command" instead. This is a common typo. ### OpenCode version 1.0.45 ### Steps to reproduce 1. paru -S opencode-bin 2. opencode ### Screenshot and/or share link <img width="1051" height="77" alt="Image" src="https://github.com/user-attachments/assets/7e36df25-62a2-4890-b440-01d05b0c2ec5" /> ### Operating System Arch x86_64 ### Terminal Alacritty
yindo closed this issue 2026-02-16 17:36:51 -05:00
Author
Owner

@rekram1-node commented on GitHub (Nov 8, 2025):

@InfiniteVoidLoop you have a directory called "commands" it needs to be renamed to "command" as per our documentation. We intentionally error here because people put it in the wrong dir

i think we will just read both tho since this is a common problem

@rekram1-node commented on GitHub (Nov 8, 2025): @InfiniteVoidLoop you have a directory called "commands" it needs to be renamed to "command" as per our documentation. We intentionally error here because people put it in the wrong dir i think we will just read both tho since this is a common problem
Author
Owner

@hbd commented on GitHub (Nov 20, 2025):

Also an issue for me coming from a previous installation on Mac. Did not find the error helpful/explanatory on how to fix

@hbd commented on GitHub (Nov 20, 2025): Also an issue for me coming from a previous installation on Mac. Did not find the error helpful/explanatory on how to fix
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2691