# Installing Lazarus on macOS

## Installation

### 1. Install the Xcode command line tools

Open a Terminal, install the tools and accept the license:

```sh
sudo xcode-select --install
sudo xcodebuild -license accept
```

### 2. Install the Free Pascal Compiler

1. Download and open `fpc-3.2.4rc2.intelarm64-macosx.dmg`.
2. Double click `fpc-3.2.4rc2.intelarm64-macosx.pkg`. A warning dialog appears.
3. Click **Done** in the dialog.
4. Go to **System Preferences > System Settings > Privacy & Security**.
5. Scroll down. Under **Security** the dmg file should be listed.
   Click **Open Anyway** to start the installer.

### 3. Install Lazarus

1. Download `lazarus-darwin-x86_64-5.0RC1.zip`.
2. Open a Terminal and remove the download flag:

   ```sh
   xattr -cr Downloads/lazarus-darwin-x86_64-5.0RC1.zip
   ```

3. Unpack the zip and move the `lazarus` folder anywhere you want.

### 4. Start the IDE

Double click on **lazarus**.

## Checksums

Checksums can be found at <http://www.lazarus-ide.org/index.php?page=checksums>.

## Changelog

For an overview of what changed from earlier versions of FPC see:

- <http://wiki.lazarus.freepascal.org/Lazarus_3.0_release_notes>
- <http://wiki.freepascal.org/User_Changes_3.2.4>
- <http://wiki.freepascal.org/FPC_New_Features_3.2>

For additional information visit our homepage, forum, wiki, and FAQ:

- [Homepage](http://www.lazarus-ide.org/)
- [Forum](http://forum.lazarus.freepascal.org/)
- [FAQ](http://wiki.lazarus.freepascal.org/Lazarus_Faq)
