| Crates.io | mini_shell |
| lib.rs | mini_shell |
| version | 0.1.0 |
| created_at | 2025-05-06 13:53:32.454155+00 |
| updated_at | 2025-05-06 13:53:32.454155+00 |
| description | A cross-platform mini shell written in Rust |
| homepage | https://github.com/itsvks19/mini-shell |
| repository | https://github.com/itsvks19/mini-shell |
| max_upload_size | |
| id | 1662389 |
| size | 44,845 |
[!NOTE] This project was created by me, as a learning exercise to explore and understand Rust, especially for building cross-platform CLI applications.
A cross-platform shell implementation written in Rust that provides basic file system operations and unified package management across different operating systems.

Mini Shell running with package management
ls, cd, mkdir, rm, cat, etc.~ home directory paths| Command | Description | Example |
|---|---|---|
cd <dir> |
Change directory | cd ~/projects |
pwd |
Print working directory | pwd |
ls [dir] |
List directory contents | ls ~/documents |
mkdir <dir> |
Create directory | mkdir new_folder |
rm <file/dir> |
Remove file or directory | rm -rf old_folder |
cat <file> |
Display file contents | cat config.txt |
echo <text> |
Display text | echo Hello World |
touch <file> |
Create empty file | touch newfile.txt |
clear |
Clear screen | clear |
help |
Display help information | help |
exit |
Exit the shell | exit |
Rust Shell provides a unified interface for package management across platforms:
pkg install <package> - Install a package
pkg search <query> - Search for packages
pkg update [package] - Update packages
pkg list - List available package managers
choco)brew)Clone the repository:
git clone https://github.com/itsvks19/mini-shell.git
cd mini-shell
Build the project:
cargo build --release
Run the shell:
./target/release/rust-shell
cargo install mini-shell
Mini Shell will detect available package managers on your system automatically. No additional configuration required!
Contributions are welcome! Please feel free to submit a Pull Request.
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.