Getting Started with Lazarus
Install Lazarus IDE and create your first native application in under 10 minutes. Follow our step-by-step guide for your platform.
1. Choose your platform
System Requirements
- Windows 7, 8, 10, or 11
- 32-bit or 64-bit processor
- 500 MB free disk space
- 1 GB RAM minimum
2. Install Lazarus
Download the installer
Get the latest Lazarus 4.6.0 installer from SourceForge. Choose the 64-bit version for modern systems.
Download for Windows 64-bitRun the installer
Double-click the downloaded .exe file. If Windows SmartScreen appears, click "More info" then "Run anyway".
Choose components
Keep all components selected (IDE, LCL, Free Pascal Compiler). Choose your installation directory.
Complete installation
Click Install and wait for the process to complete. Lazarus will create desktop and Start menu shortcuts.
3. Create your first app
Let's build a simple "Hello World" application to verify your installation works correctly.
Create a new project
Go to File → New → Application. This creates a new GUI application with a blank form.
Design your form
From the Standard tab in the Component Palette, drag a TButton and a TLabel onto the form.
Add event handler
Double-click the button. This creates an OnClick event handler in the code editor.
Write code
Inside the procedure, add:
Label1.Caption := 'Hello, Lazarus!';Run your app
Press F9 or click Run → Run. Your application compiles and launches instantly.
Congratulations!
You've created your first Lazarus application. Click the button in your running app and watch the label text change. You're now ready to build real applications!