To install Marlin on your printer you’ll first need to Download Marlin, then edit your Configuration files, and finally use an IDE to Compile the Marlin project into a binary form and Upload it to your board. The build process can seem daunting at first, but after you do it a few times you’ll be a pro.
Marlin only needs to be re-flashed when fixed settings are changed in the configuration files. Many settings are only defaults and can be changed (and saved to EEPROM) with G-codes. See each option’s description in the configuration files to find out which G-codes apply.
Start by downloading the Marlin source code. There are a few codebases to choose from.
|Download 2.1.1||Current release|
|Download 2.1.x||Current release, patched|
|Download bugfix-2.1.x||“Nightly” build for Marlin 2.1.x Proceed with Caution!|
|Download 220.127.116.11||Previous release|
|Download 2.0.x||Previous release, patched|
|Download bugfix-2.0.x||“Nightly” build for Marlin 2.0.x Proceed with Caution!|
|Download 1.1.x||Legacy Marlin 1.1|
|Download bugfix-1.1.x||“Nightly” build. Proceed with Caution!|
|Download 1.0.x||Legacy Marlin 1.0|
- Marlin 1.0 does not support PlatformIO. For older versions of Marlin use Arduino IDE.
- Marlin 1.1 fully supports PlatformIO, and Marlin 1.1.9 even provides an automated build process.
- Marlin 2.0 and up include 32-bit ARM support. PlatformIO is not required for AVR boards.
Build and Install
Marlin installation procedure can vary depending on which version of Marlin you want to install and which board you’re installing onto. Once your Marlin build environment is set up installing updates can be a one-click operation.
|1.1.x or 2.x||8-bit AVR||Install Marlin with Arduino IDE|
|1.1.9 or 2.x||8-bit AVR, 32-bit ARM||Install Marlin with PlatformIO|
|2.x||LPC1768 (Re-Arm)||Install Marlin on Re-ARM|
Troubleshooting a complex piece of software with a minimal interface can sometimes be challenging, even for the most experienced 3D printing enthusiast. Please use our Troubleshooting Guide for tips on some common problems.