Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Executable name "cmd" is already taken in Termux

Open Beginner friendly
#933 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
node.js
Domain
cli

Research direction

Start by locating the package's executable or bin declarations and any platform-specific naming logic. Reproduce npm install -g command-code in Termux, then verify that installation succeeds without claiming the existing cmd name.

Written by the indexing model from the issue text.

Description

Summary

npm install -g command-code fails in Termux because cmd already exists in /data/data/com.termux/files/usr/bin/ (it's a utility for interacting with Android services or something)

Expected Behavior

Same as on Windows: use a different name.

Actual Behavior

Name conflict.

Steps to reproduce the issue

npm install -g command-code

Command Code Version

1.65.4

Operating System

Other

Terminal/IDE

No response

Shell

No response

Session file (optional)

No response

Fix prompt (optional)

Since Termux, like Windows, already has an executable called "cmd" in PATH, use a different name for Android.

Additional context

No response

Dominant language
No language data
Stars
4k
Forks
357
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from CommandCodeAI/command-code

All issues in CommandCodeAI/command-code

Similar issues

More CLI issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.