Author: Abdukhakimov Kurbon ([email protected])

This guide is for Linux(Ubuntu and Debian based distributives) and MacOS users to open Nand2tetris tools on their computers. Unlike Windows users, Linux and MacOS users cannot open files with “.bat” extension, so they need to follow several steps.

Installing Java on Linux/MacOS

For freely using all tools of Nand2tetris you will be needing to install Java JDK and JRE on your device

<aside> ❗ Please note that right now most stable version of Java is 17

</aside>

https://www.youtube.com/watch?v=Lin1q9S4zTU

Downloading Nand2tetris

First of all download the “.zip” to your computer and make sure the Nand2tetris.zip file is located in the “Downloads” directory.

nand2tetris.zip

nand2tetris.zip

Extracting Nand2tetris.zip

After downloading the file extract “.zip” extension in the same directory (”Downloads”)

Opening Terminal

Terminal is the most needed source for Linux and MacOS users. Most of the operation goes through there.

To open Terminal

ter.png

Untitled

Opening HardwareSimulator.sh

cdD.png

cdtools.png

chmod +x HardwareSimulator.sh

chmod.png

./HardwareSimulator.sh

hard.png