百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
M

MyCMD

> 编程语言
开源

一款完全自定义的 CMD 命令行 shell,使用 Java 编写,并具有自己的安装程序。

194 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

一款完全自定义的 CMD 命令行 shell,使用 Java 编写,并具有自己的安装程序。

MyCMD – A Custom Command Prompt in Java

MyCMD is a fully custom command prompt implemented in Java.
It mimics the behavior of Windows cmd.exe with commands like dir, cd, echo, mkdir, del, and more — plus it has its own installer.

Meet our CMD-builders


Documentation & Command Reference

For a complete guide detailing the syntax, arguments, and options for every command, please see the full COMMANDS.md file.


…

Key Features ✨


Requirements

To build MyCMD you need:

  • Java JDK 17+
  • Apache Maven
  • Launch4j (for .exe wrapping)
  • Inno Setup (for Windows installer)

(Linux users can use jpackage instead of Launch4j/Inno Setup.)


️ Build Instructions

Building MyCMD is simple and automated for both Windows and Linux platforms

Windows

bash
scripts\build-windows.bat

This script will automatically:

  1. Build the JAR using Apache Maven

2.⚙️ Wrap it into an .exe using Launch4j

  1. Generate a setup.exe installer via Inno Setup

Final Output

dist/
 ┣ bin/MyCMD.exe
 ┣ lib/dependencies.jar
 ┗ setup.exe

Linux

chmod +x scripts/build-linux.sh
./scripts/build-linux.sh

This will build a .deb or .rpm package using jpackage.

️ Usage

After installation, run:

MyCMD

You can now use commands like:

> dir
> cd ..
> mkdir test
> echo Hello World!
> type file.txt
> del file.txt
> help
> exit

Extending MyCMD

[!NOTE] There are many commands left like ls and Ping Command

Contributing

Contributions are what make the open-source community such an amazing place to learn, inspire, and create!

We welcome all kinds of improvements — from fixing bugs to adding new commands ⚙️.

Steps to Contribute

  1. Fork the repository
  2. Create a new branch
bash
git checkout -b feature/your-feature-name

##  License

**Apache License 2.0**  
This project is open-source and available for anyone to use, modify, and share under the terms of the Apache License.

> ✨ Attribution is appreciated but not required.  
>  For complete terms, check the [LICENSE](./LICENSE) file.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Javaactivedrive-for-javahacktoberfesthacktoberfest-accepted

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言