A lightweight command-line operating system built with the Cosmos Framework in C#.
UraniumOS is an experimental operating system designed to demonstrate core OS concepts including process management, file system operations, variable storage, and system utilities. It features a custom cursor and an intuitive command-line interface.
info- Display system informationversion- Show OS versionwhoami- Display current usermemory- Show memory usagetime- Display current timedate- Show current dateuptime- Display system uptime
dir/ls- List directory contentscd <path>- Change directorypwd- Print working directorymkdir- Create directoryrm- Remove file
ps- List running processesstart <process>- Start new processkill <pid>- Terminate process
echo <text>- Print textcalc <num1> <op> <num2>- Simple calculator- Example:
calc 10 + 5 - Supports:
+,-,*,/
- Example:
set <var> <value>- Set variableget <var>- Get variable valuevars- List all variablesclear- Clear screenhelp- Show all commands
shutdown- Power off systemexit- Exit OS
- Cosmos Framework - Latest version
- Visual Studio 2019 or later
- .NET Framework compatible compiler
- QEMU or VirtualBox (for testing)
- Install Cosmos Framework from cosmosos.github.io
- Clone this repository:
git clone https://github.com/sneeoosh/UraniumOS.git
- Open the project in Visual Studio
- Build and run in a virtual machine
- Boot UraniumOS
- Type
helpto see available commands - Execute commands at the prompt
Example:
uranium:/> help uranium:/> calc 10 + 5 Result: 10 + 5 = 15 uranium:/> set myvar "Hello World" myvar = Hello World uranium:/> get myvar myvar = Hello World uranium:/> ps Running Processes: ================== PID: 1 | Name: kernel | Status: Running PID: 2 | Name: shell | Status: Running - Kernel - Cosmos.System.Kernel base class
- Command Interpreter - Processes user input and executes commands
- Process Manager - Manages running processes
- Variable Storage - Stores system variables
- File system integration
- Multi-user support
- Network capabilities
- GUI implementation
- Advanced process scheduling
- Shell scripting support
- Command-line interface only (GUI support planned)
- Limited file system operations
- Basic process management
- No network support in current version
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.
This project is open source. Feel free to fork and modify as needed.
UraniumOS Development Team
UraniumOS is an experimental project built for educational purposes to demonstrate operating system concepts. It is not intended for production use.
Note for CLI skeptics: A GUI version is planned for future releases. The current command-line interface provides a solid foundation for core OS functionality.