JP
HomeBlogProjectsResumeAbout

© 2026 JP. All rights reserved.

Back to blog
FlutterLinux

Installing Flutter on Linux

AdminMarch 4, 20261 min read
Installing Flutter on Linux

On this page

  • Install Core Flutter dependencies
  • Install Linux desktop build tools
  • Install FVM (Flutter Version Manager)
  • Configure FVM for your projects
  • Run your app via FVM
  • Web (Chrome)
  • Linux desktop

On this page

  • Install Core Flutter dependencies
  • Install Linux desktop build tools
  • Install FVM (Flutter Version Manager)
  • Configure FVM for your projects
  • Run your app via FVM
  • Web (Chrome)
  • Linux desktop
NextThe Art of the Fake Commute and How It Saved My Mental Health

This is a quick guide for installing flutter on linux. I wanted to use FVM to manage the flutter versions and it will also go over installing any dependencies needed to run flutter apps for linux and web

Install Core Flutter dependencies

bash
sudo apt-get update -y && sudo apt-get upgrade -y
sudo apt-get install -y 
curl git unzip xz-utils zip libglu1-mesa 

These packages provide Git, archive tools, and the OpenGL libraries Flutter needs

Install Linux desktop build tools

bash
sudo apt-get install -y
clang cmake ninja-build pkg-config 
libgtk-3-dev liblzma-dev libstdc++-12-dev

These are required to compile Flutter Linux desktop apps

Install FVM (Flutter Version Manager)

Whichever install script you prefer

bash
curl -fsSL https://fvm.app/install.sh | bash

or via Homebrew(Linuxbrew)

bash
brew tap leoafarias/fvm
brew install fvm

Configure FVM for your projects

In each project directory, pick a Flutter version (e.g. the stable channel):

bash
fvm install stable
fvm use stable

You can also create a new web-enabled project with

bash
fvm flutter create . --platforms web,linux

Run your app via FVM

Web (Chrome)

bash
flutter run -d chrome

Linux desktop

bash
fvm flutter config --enable-linux-desktop fvm flutter run -d linux