<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.computercraft.info/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Wojbie</id>
		<title>ComputerCraft Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://www.computercraft.info/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Wojbie"/>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/Special:Contributions/Wojbie"/>
		<updated>2026-07-11T09:02:14Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.24.1</generator>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=CraftOS&amp;diff=7462</id>
		<title>CraftOS</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=CraftOS&amp;diff=7462"/>
				<updated>2017-06-22T21:47:02Z</updated>
		
		<summary type="html">&lt;p&gt;Wojbie: Change link for shell to point to official CC github repo.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Selfref|This is the article for ComputerCraft's primary shell, CraftOS. If you are looking for the API, see [[shell (API)]].}}&lt;br /&gt;
&lt;br /&gt;
[[File:CraftOS1.7.png|thumb|right|300px|The CraftOS interface.]]CraftOS is the default shell used by [[ComputerCraft]]'s systems. It offers a command line interface, making use of a [[CraftOS Shell|selection of Unix-style commands]] for navigation.&lt;br /&gt;
&lt;br /&gt;
It is launched automatically when a given [[Computer]], [[Turtle]] or [[Pocket Computer]] starts up, from the file [https://github.com/dan200/ComputerCraft/blob/master/src/main/resources/assets/computercraft/lua/rom/programs/shell.lua /rom/programs/shell] (for a time, it labelled itself as &amp;quot;TurtleOS&amp;quot; when executed on turtles - currently it calls itself &amp;quot;CraftOS&amp;quot; on all systems). It then initialises the [[shell (API)|shell API]] which other scripts can use to interface with it. If the first instance of CraftOS running on a system is exited, the system will shut down.&lt;br /&gt;
&lt;br /&gt;
As of ComputerCraft 1.6, advanced systems launch CraftOS via the [[Multishell]] script, which enables easy multitasking (allowing the one device to run multiple programs at the same time, in different tabs). ComputerCraft 1.74 furthermore added tab-completion to the interface.&lt;br /&gt;
&lt;br /&gt;
Alternate &amp;quot;operating systems&amp;quot; can either run &amp;quot;on top of&amp;quot; CraftOS, or, using a [http://www.computercraft.info/forums2/index.php?/topic/14049-how-to-make-and-install-lua-resource-packs/ resource pack], they can replace it altogether. Many user-defined OSes can be found in [http://www.computercraft.info/forums2/index.php?/forum/32-operating-systems/ the ComputerCraft forums], but note that not all are fully-functional and/or compatible with all versions of ComputerCraft.&lt;br /&gt;
&lt;br /&gt;
==Quick Guide==&lt;br /&gt;
&lt;br /&gt;
When first starting a system, it is recommended to label it - an unlabelled [[computer]]'s file system will be discarded if it is pickaxe'd and re-placed (in the case of [[turtle]]s, their [[refuel|fuel reserves]] will ''also'' be lost). To check the current label of a system, enter:&lt;br /&gt;
&lt;br /&gt;
 label get&lt;br /&gt;
&lt;br /&gt;
To set a new label, enter:&lt;br /&gt;
&lt;br /&gt;
 label set &amp;lt;newLabel&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From there, use is similar to a standard Unix-style prompt - [[CraftOS Shell|see here for the command list]], and try the [[help]] script to get details on commands you're unclear about.&lt;br /&gt;
&lt;br /&gt;
For example, to view a list of files on the system, enter:&lt;br /&gt;
&lt;br /&gt;
 ls&lt;br /&gt;
&lt;br /&gt;
You can change to a different folder by entering:&lt;br /&gt;
&lt;br /&gt;
 cd &amp;lt;folderName&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To go back a directory, enter:&lt;br /&gt;
&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
To run a script file, simply enter its name. If you wish to edit a script file, use the edit command:&lt;br /&gt;
&lt;br /&gt;
 edit &amp;lt;scriptName&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that you cannot edit the contents of the rom (Read-Only Memory) directory, nor that of [[Treasure Disks]].&lt;br /&gt;
&lt;br /&gt;
Also try the included [[lua]] script, which gives you immediate access to a Lua interpreter.&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
* [http://www.computercraft.info/forums2/index.php?/forum/13-tutorials/ ComputerCraft Tutorials on the ComputerCraft Forum]&lt;br /&gt;
* [http://www.computercraft.info/forums2/index.php?/topic/15033-computer-basics-i/ Computer Basics I]&lt;br /&gt;
* [http://www.computercraft.info/forums2/index.php?/topic/15041-computer-basics-ii/ Computer Basics II]&lt;br /&gt;
* [http://www.computercraft.info/forums2/index.php?/topic/20905-computer-basics-iii/ Computer Basics III]&lt;br /&gt;
&lt;br /&gt;
[[Category:OSes]]&lt;/div&gt;</summary>
		<author><name>Wojbie</name></author>	</entry>

	</feed>