> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tsukineos.top/llms.txt
> Use this file to discover all available pages before exploring further.

# Build Overview

> Build TsukineOS from source (simplified workflow).

# Build Overview

TsukineOS is based on Linux 6.6 LTS. Its user space consists of BusyBox + dash + custom tools. The build output is a bootable initrd and the corresponding image.

## Build Workflow (Simplified)

```bash theme={null}
# 1. Get the Linux 6.6 kernel source
wget https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.6.tar.xz
tar xf linux-6.6.tar.xz && cd linux-6.6
make defconfig && make -j$(nproc)
cd ..

# 2. Build BusyBox (statically linked)
# Configure for static linking, then compile to produce the busybox binary

# 3. Build dash
# Compile dash as /bin/sh

# 4. Compile custom tools
# Build taskmgr / net / ping / iwr / tknpkg / tknpkkj

# 5. Package initrd
# Assemble kernel modules, BusyBox, dash, custom tools, and init scripts into initrd
```

## Output

* x86\_64: Bootable ISO (kernel + initrd)
* ARM64: Flashable IMG (kernel + initrd, adapted for Raspberry Pi-like devices)

## Details

Dependencies and cross-compilation settings for each step are covered in [Build Environment](/en/build-guide/environment). The complete, reproducible build script is in the `TsukineOS` repository source code.

<Note>
  This page was translated by AI and may contain inaccuracies. The Simplified Chinese version is authoritative.
</Note>

***

© 2024-2026 TsutokiTeo/JunweiZhang. All rights reserved.
