# Scratch/Lessons/Downloading

Scratch code is almost entirely written using MIT's official editor, though some third-party editors exist as well. This editor can be used either offline or online. The online editor only features Scratch 3.0, but the offline editors for previous versions can still be downloaded. The online editor can be found at https://scratch.mit.edu/projects/editor. Information on the offline editor can be found below.

## Finding and Downloading Scratch
### Scratch 3.0

The Scratch offline editor can be downloaded free of charge at https://scratch.mit.edu/download and the following operating systems are supported:
* Windows 10 or later
* macOS 10.13 or later
* ChromeOS
* Android 6.0 or later (tablets only)
Despite not being officially supported, the offline editor can be ran on Windows 7 as well.

### Scratch 2.0

Scratch 2.0 is still available for download on the Scratch website. Scratch 2.0 also requires Adobe AIR. The following operating systems are supported:
* Windows XP or later
* Mac OS X
* Linux distributions such as Fedora 13, Ubuntu 10.10, and openSUSE 11.3

### Scratch 1.4

Scratch 1.4 is still available for download at https://scratch.mit.edu/scratch_1.4 and is available for the following Operating Systems:
* Windows 2000 and later
* Mac OS X version 10.4 through 10.14.6
* Linux - in various 32 bit distribution flavors
A minimum of 120 megabytes of hard drive space are requested to hold the Scratch basic multimedia pack and software.
Screen pixel size should be 1024 x 768 or larger, thousands or millions of colors (16-bit color or greater)
There are some aspects of Scratch where CPU performance can be an issue, but basic computers capable of running any of the above operating systems should work for most simple Scratch projects. Scratch is likely to be on the default installation for the XO-1 computer, to give an example of the kind of computer capable of using this software.

#### Linux Version

A version of Scratch for Linux is available from the scratch website at http://info.scratch.mit.edu/Scratch_on_Linux
This is missing some features of the Windows and Mac versions of Scratch, but you are able to edit, create, and otherwise interact with Scratch using most of the blocks.
Forum threads about the Linux version of Scratch can be found here:
* http://scratch.mit.edu/forums/viewtopic.php?id=21
* http://scratch.mit.edu/forums/viewtopic.php?id=305

## Network (LAN) issues in a classroom

Scratch can be installed successfully on a shared network hard drive or other data sharing device that is commonly found in a classroom setting. This can give your students an advantage of being able to share a larger variety of multi media resources, and perhaps even to share project ideas between students. Specific details would have to be worked out with your district network technology specialist.
Several instructors and the Scratch development team have been successful at networking access to the Scratch software, both on a Mac as well as on a PC (Windows) architecture. Some user management software may cause some additional problems, but somebody with some competence at dealing with networking issues ought to be able to resolve these issues.
Scratch forum threads dealing with this specific topic can be found at the following places:
* http://scratch.mit.edu/forums/viewtopic.php?id=194
* http://scratch.mit.edu/forums/viewtopic.php?id=210
It should be noted that the first version of Scratch (version 1.1) exhibited some buggy behavior in networking environments due to user permission management options. These bugs can usually be worked around, and mainly deal with trying to load or save files when user permission has been denied. The "default" directories for both loading and saving files are sub-directories of the software folder itself. In this situation, you may want to encourage students to load and save through the documents folder. Most of these problems appear to have been fixed in v1.2.1.

## Embedding Scratch

A Java applet has been written for use with Scratch applications, allowing you to "embed" a Scratch project within a web page. This applet is demonstrated on the main Scratch website, but you can also copy this applet to be used on your own website or blog. If you have uploaded content to the Scratch website, you can click the embed link on the project page and copy the HTML to embed it.
Some information that goes into greater depth about hosting all of the files "locally" on your own web server can be found here:
* http://scratch.mit.edu/forums/viewtopic.php?pid=584
* http://scratch.mit.edu/forums/viewtopic.php?pid=763

## Scratch Projects on a "Live CD-ROM"

If you plan on sharing Scratch projects, you may want to include the Scratch software together with the project you created. As Scratch is an interpreted language instead of something which is compiled, you must include the interpreter together with your projects.
All of these files can be found in the installation directory of Scratch.

### Mac OS X

In addition to the .sb files containing the projects you need
* Scratch.app
* Scratch.image
* license.txt (to make sure that the people who get Scratch know the terms of use of this software... a legal requirement)
The Help and locale subdirectories are probably also important

### Windows

The following are some critical files that must be kept together with your Scratch project if you don't want to install the complete edition of Scratch on somebody else's computer:
* Scratch.exe
* Scratch.image
* Scratch.ini
* ScratchPlugin.dll
* Mpeg3Plugin.dll
* license.txt (to make sure that the people who get Scratch know the terms of use of this software... a legal requirement)
While not a "requirement", you have a couple of options to make it easier for somebody to start your project right away:

##### Create a "batch file" for your project

All you need to do here is to open a text editor like "Notepad" or "Wordpad" and type something like this line:
Substitute the name of your project that you want to share with the name "project.sb"
Save this file with the name "clickme.bat" or some other name that also ends in ".bat". This creates a command line "batch file" which used to be common in MS-DOS, but is still used in Windows.

##### Create a Windows shortcut

Open Windows Explorer and create a new temporary folder where you are going to put all of these files before you put them on your CD-ROM.
Next, use the right mouse button and click in the folder space, selecting the option "New", and the sub-option "shortcut".
When it asks for the name of the file, type in the same information listed above that is inside the batch file.
Click on the "Next" button, and the shortcut file should be created by Windows.
Finally, type in what you want to call this shortcut. Something simple like "Click Me" or "My Cool Project" is suggested.