Fuchsia OS: download, build and run


Supported build platforms

At the moment of writing two build platforms seems to be supported – Ubuntu and Mac OSx. This article focuses on Ubuntu.

Getting the source

How to install version control tools and checkout Fuchsia OS repositories is described on the Fuchsia Manifest page:

# Install tools
sudo apt-get install golang git-all build-essential curl
# Install jiri scripts
curl -s https://raw.githubusercontent.com/fuchsia-mirror/jiri/master/scripts/bootstrap_jiri | bash -s fuchsia
# Export path to jiri
cd fuchsia
export PATH=`pwd`/.jiri_root/bin:$PATH
# Import/update Fuchsia code
jiri import fuchsia https://fuchsia.googlesource.com/manifest
jiri update

Building Fuchsia

Build instructions can be found in the Fuchsia Repository:

# Setup build environment, amr64
source scripts/env.sh && envprompt && fset arm64
# Build

Built sysroot will be in:


and the boot image in:



cd fuchsia
git clone https://fuchsia.googlesource.com/third_party/qemu
cd qemu
./configure --target-list=arm-softmmu,aarch64-softmmu,x86_64-softmmu
make -j32
sudo make install

Run Fuchsia OS in QEMU

cd fuchsia/magenta
# Run aarch64 (optionally, with graphical consol - add -g)
./scripts/run-magenta-arm64 -x ../out/debug-aarch64/user.bootfs -m 2048 [-g]

Magenta on Raspberry PI

See Magenta on Raspberry Pi and Raspberry Pi: compile and run Magenta pages.