Document stub.png This article or section may not have content matching Scratch Wiki editing standards. Please improve it according to Scratch Wiki:Guidelines and Scratch Wiki:Editing Conventions. (November 2020)
SandCastleIcon.png This article has links to websites or programs not trusted by Scratch or hosted by Wikipedia. Remember to stay safe while using the internet, as we cannot guarantee the safety of other websites.

GitHub is a website used by numerous open and closed source projects to use Git or Subversion as their version control system and get contributors. It is also used by the Scratch Team[1] to host the source code for Scratch. Several Scratch Wiki members also use it. It has both free and paid plans.

Public GitHub Repositories by the Scratch Team

The Scratch Team is currently hosting fifty-five public repositories on GitHub.[2] Some of them are:

Public GitHub Repositories by the International Scratch Wiki

The International Scratch Wiki is currently hosting sixteen public repositories on GitHub.[3] They are:

Downloading Repositories

Directly from GitHub

One way is to click the "Clone" button on the repository's page, and select the preferred protocol, or select "Download as .zip" Another way is to check the tags and download the source releases.

With a Terminal:


Note Note: Executing these commands require sudo authorization or be executed as the root user.

Open Terminal and paste the one of the code:

    • For Debian-based distributions (Debian, Ubuntu, Linux Mint, etc.):
sudo apt-get install git
    • For RPM-based distributions (Fedora, CentOS, etc.):
sudo dnf install git-all

Use another code when Git installed:

git clone <write the depository's URL address>

Windows and Mac

Install Git from its official website, then paste the following code to Command Prompt:

git clone <write the depository's URL and add .git at the end of the URL without any space>

Run Scratch Virtual Machine

Note Note: Before running, download Node.js from its website and ensure that it has access to localhost.

Open Command Prompt/Terminal in the repository, then copy-paste the following code:

npm start

It should now work here.

Standalone Infrastructure

npm run build
<script src="/path/to/dist/web/scratch-vm.js"></script>
    var vm = new window.VirtualMachine();
    // do things

External Links


Cookies help us deliver our services. By using our services, you agree to our use of cookies.