Getting Started
Introduction
SigmaOS is a modular fake operating system written in Python. Installation is simple - just download and run SigmaOS.py!
Installation
To get started:
- Download SigmaOS.py from The404Company/SigmaOS
- Run the file:
- SigmaOS will automatically install all required dependencies
python SigmaOS.py
Basic Commands
System Commands
help
- Show all available commandsexit
orsigma quit
- Exit SigmaOSclear
- Clear the screensetup
- Install essential packagesreset
- Reset SigmaOS to default statesysinfo
- Show system informationnow
- Show current date and timesendlogs
- Send logs to the official Discord-Servertimer <number> <s|m|h>
- Set timer in seconds, minutes or hours. Commands can be typed during countdown.
Keyboard Shortcuts
Tab
- Auto-complete commandsUp/Down
- Navigate command historyLeft/Right
- Move cursorCtrl+C
- Interrupt current operation
Package System
Package Management
Manage packages using these commands:
ligma list
- Show available packagesligma install <pkg>
- Install a packageligma uninstall <pkg>
- Remove a package<package>
- Run an installed package's main.py<package>.<script>
- Run a specific script in a package (e.g.,yapper.config
runs config.py)
Available Packages
BetaTask
- System resource monitor and task managerDoccX
- Document viewer for files in documents directoryLigmaDev
- Developer tools for creating SigmaOS packagesLigmaUpdate
- Updates installed packagesOmegaNet
- Network diagnostics and scanning toolsRhoSecure
- Secure password manager with encryptionSigmaUpdate
- Updates the SigmaOS systemSourcerer
- Install packages from external sourcesSucker
- Install files from URLsXiAI
- AI ChatBotyapper
- Text editor for creating and editing files
Aliases
Alias Management
Create and manage command aliases:
alias list
- Show all aliasesalias add <name> <cmd>
- Create new aliasalias remove <name>
- Delete alias
Community
Join The Community
Get involved with SigmaOS development:
- Join our Discord Server to:
- Report bugs
- Submit packages to the official repository
- Join the development team
- Get help and support
Package Development
Package Development
Create custom packages for SigmaOS using the LigmaDev toolkit and SigmaOS_core utilities.
Package Structure
Each package must contain:
main.py
- Entry point executed by SigmaOSdescription.txt
- Package metadata and requirements
description.txt Format
[description]
Brief package description
[author]
Your name or username
[version]
1.0
[requirements]
colorama
requests
other_dependencies
requests
is required for the suck()
function in SigmaOS_core
Using SigmaOS_core
Download the SigmaOS_core file and copy-paste it into your package-folder.
Import core utilities in your package:
from SigmaOS_core import clear_screen, loading_animation, press_enter_to_continue, log, suck
from colorama import Fore, Style
Core Functions
clear_screen()
- Clears the terminal screenloading_animation(message, duration=2, task=None)
- Shows loading animation with optional taskpress_enter_to_continue()
- Displays continue promptlog(message)
- Log important events and errors in a log-file. This data can be sent to the official Discord-Server by the user.suck(url, save_to_documents=False, filename=None, hidden=False)
- Download files from the internet with "flexible" save options.
File Download Function
The suck()
function provides an easy way to download files from the internet with progress indication and flexible save options:
suck(url, save_to_documents=False, filename=None, hidden=False)
Parameters:
url
- The URL of the file to downloadsave_to_documents
- If True, saves the file to the ../../documents directoryfilename
- Optional custom filename. If not provided, uses the filename from the URLhidden
- If True, suppresses all output messages and progress indicators
Returns:
- Path to the downloaded file on success
- None if the download failed
Example usage:
# Download to current directory
suck("https://example.com/file.zip")
# Download to documents folder with custom name
suck("https://example.com/file.zip", save_to_documents=True, filename="my_file.zip")
# Silent download (no output)
suck("https://example.com/file.zip", hidden=True)
Best Practices
- Always include clear_screen() at start
- Show package banner/header
- Use colorama for consistent styling
- Handle keyboard interrupts gracefully
- Provide clear user feedback
- Place files in documents directory
Development Process
Use LigmaDev package to:
- Create new package scaffolding
- View example package structure
- Access technical documentation
Testing
- Put your package folder in
SigmaOS/packages/
directory - Launch SigmaOS and run your package by name
- Test all features and error handling
Distribution
Once your package is ready, submit it to the official repository through ourDiscord Server.
Themes
Theme System
SigmaOS features a customizable theme system that allows you to change the colors of various UI elements. Themes are stored in the themes
directory, and the current theme selection is stored in user.sigs
.
Theme Management
Manage themes using these commands:
theme list
- List all available themestheme set <name>
- Set a new theme (requires restart)theme edit <name> [value]
- Edit theme colors (all or specific value)theme create <name>
- Create a new themetheme delete <name>
- Delete a themetheme show <name>
- Show theme contents
Theme File Structure
Theme files are stored in the themes
directory with the .sth
extension. Here's an example of the default theme:
{
"banner_sth": "cyan",
"version_sth": "yellow",
"success_sth": "green",
"error_sth": "red",
"warning_sth": "yellow",
"info_sth": "cyan",
"header_sth": "yellow",
"command_sth": "green",
"description_sth": "white",
"author_sth": "cyan",
"loading_sth": "cyan",
"prompt_sth": "green",
"suggestion_sth": "cyan",
"relevance_sth": "blue",
"system_info_sth": "yellow",
"timer_sth": "green",
"alias_sth": "green",
"package_sth": "green",
"package_version_sth": "cyan",
"package_author_sth": "cyan",
"package_description_sth": "white",
"package_installed_sth": "green",
"package_not_installed_sth": "yellow",
"package_error_sth": "red",
"package_loading_sth": "cyan",
"package_skipped_sth": "yellow",
"package_cleanup_sth": "green",
"package_download_sth": "cyan",
"package_install_sth": "cyan",
"package_uninstall_sth": "yellow",
"package_reset_sth": "red",
"package_setup_sth": "cyan",
"package_essential_sth": "green"
}
Available Colors
You can use any of the following color values in your theme (all colors from the colorama library):
black
- Black textblue
- Blue textcyan
- Cyan textgreen
- Green textmagenta
- Magenta textred
- Red textwhite
- White textyellow
- Yellow textlightblack_ex
- Light black textlightblue_ex
- Light blue textlightcyan_ex
- Light cyan textlightgreen_ex
- Light green textlightmagenta_ex
- Light magenta textlightred_ex
- Light red textlightwhite_ex
- Light white textlightyellow_ex
- Light yellow text
Customizing Themes
To customize your theme:
- Create a new
.sth
file in thethemes
directory - Edit the color values to your preferred colors
- Use
theme set <name>
to apply your theme - Restart SigmaOS to apply the changes
Theme Variables
Each theme variable controls a specific aspect of SigmaOS's interface:
banner_sth
- Banner box and linescommand_sth
- Commands, sigma symbol, and SigmaOS textversion_sth
- Version numberdescription_sth
- General text and descriptionssuccess_sth
- Success messageserror_sth
- Error messageswarning_sth
- Warning messagesinfo_sth
- Information messagesheader_sth
- Section headersprompt_sth
- Command promptloading_sth
- Loading animationstimer_sth
- Timer displaysuggestion_sth
- Command suggestionsrelevance_sth
- Suggestion relevancealias_sth
- Alias commandssystem_info_sth
- System informationpackage_sth
- Package namespackage_status_sth
- Package status (installed, version, etc.)package_error_sth
- Package errors