Skip to content

Getting Started

NiftyNarwhal11 edited this page Jan 24, 2025 · 11 revisions

Installing ModularOS

To get started using ModularOS, please download the Installer.lua file to a ComputerCraft or ComputerCraft:Tweaked computer then run it. The download automatically gets the latest version of all files and the startup script will check for available updates automatically. Unless during install you specify wether or not to auto-update.

Caution

Make sure to delete autoupdate section of startup script on old installations because only with installer will it ask you weather or not to auto update! The auto update section is startup/STARTUP.lua lines 9 to 29 or

if lversion > version then
    term.setBackgroundColor( colors.yellow )
    term.clear()
    printError("Updating")
    term.setCursorPos(20, 8)
    sleep(2)
    term.clear()
    term.write("Press Enter to update to new version")
    a = read()
    if a == "" then
        shell.run("delete /startup")
        shell.run("delete Installer.lua")
        shell.run("wget https://raw.githubusercontent.com/NiftyNarwhal11/ModularOS/main/Installer.lua?token=GHSAT0AAAAAACRUSC4C5YDZTPOSL6YTRJ64ZRTR2EA Installer.lua")
        shell.run("Installer.lua")
        
    else
        shell.run("/.os/.password")
    end
    else
        shell.run("/.os/.password")
end

You can download 2 different ways:

flowchart TD;
GitHub -->
|Download Installer| Installer
GitHub -->
|Download Release| Downloaded
Installer --> |Run Installer| Installed
Downloaded --> |Extract Release| Installed
Loading

Installing Specific Versions of ModularOS

To install a specific version of Modular OS you download a release of the version you want then import all the contents of the ModularOS folder to the computer by using the CraftOS program import, make sure to select all contents of the ModularOS folder and not the ModularOS folder itself.

Installing Modules

There are installers for modules located in the /ModuleInstallers folder. These installers will get the latest version of the module in question.

Clone this wiki locally