Skip to main content

SHEET 06 OF 41

/DOC/:SLUG

PART:
03 DOCUMENTATION
CIRCULATION:
PUBLIC
SOURCE:
pages/Doc/[...Slug].astro
AS OF:
2026-12-02

System requirements, submodule clone instructions, build profiles, artifact paths, macOS code signing, and environment setup for building Land from source.

/Start

Installation

System requirements, submodule clone instructions, build profiles, artifact paths, macOS code signing, and environment setup for building Land from source.

PUBLISHED START Source/Content/doc/installation.md UNAVAILABLE UNAVAILABLE PROCEDURE 3

Land is source-build only. There are no public signed installer packages. Building from source is the single supported path today. The build is a two-step linear flow: compile the VS Code Editor submodule, then build the Land application with the chosen profile.


The Path 🧭

Five actions, in this order. A later step does not work if an earlier one was skipped.

  1. Install the toolchain - Rust through rustup, Node.js 24 through nvm, pnpm globally.
  2. Clone Land and its elements - the main repository first, then each element individually on its Current branch.
  3. Compile the VS Code Editor submodule - with npm, not pnpm, inside Dependency/Microsoft/Dependency/Editor.
  4. Build the Land application - one Build.sh --profile <name> invocation.
  5. Launch the binary - from Element/Mountain/Target/, or re-run the build with --run.

What you should see: after step 4 the build finishes and writes the binary, the .app bundle and the element artifacts described under Artifact Paths below. After step 5 the editor window opens; if the workbench stays blank instead of rendering, see Troubleshooting.


System Requirements 💻

Requirement Minimum Notes
Operating system macOS 12+ Primary platform. Windows and Linux in progress.
Rust 1.95.0 (MSRV) Cargo.toml declares rust-version = "1.95.0". Install via rustup.rs. Edition 2024.
Node.js 24 Required for VS Code source step. Use nvm. The submodule’s .nvmrc pins 24.22.1.
pnpm Latest stable npm install -g pnpm. Used for workspace installs.
Git Any recent Git LFS required: git lfs install.
Disk space ~10 GB VS Code source (~2 GB), Rust build cache (~4 GB), Node modules (~2 GB), build artifacts (~1 GB).
RAM 8 GB minimum 16 GB recommended for parallel Rust compilation.

Two Rust numbers matter and they are not the same number. Cargo.toml declares the minimum supported Rust version (1.95.0); Land/rust-toolchain.toml pins the channel the workspace is actually built with, which is nightly, with rustfmt, clippy, rust-src, rust-analyzer, miri and llvm-tools. Inside the repository rustup honours that file, so installing a stable default does not change what the build uses. The pin must not be raised without auditing the [patch.crates-io] redirects in Cargo.toml, which are version-sensitive.


Prerequisites Installation 📦

# Install the Rust toolchain
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

# Install Node.js 24 via nvm
nvm install 24 && nvm use 24

# Install pnpm globally
npm install -g pnpm

# Skip large test binaries (not needed for compilation)
echo 'export ELECTRON_SKIP_BINARY_DOWNLOAD=1' >> ~/.zshrc
echo 'export PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1' >> ~/.zshrc
source ~/.zshrc

Note

Node.js 24 is required specifically for the VS Code Editor submodule compilation. Earlier versions produce build failures in npm install.


Repository Clone 📥

Warning

Never run git clone --recurse-submodules. Submodules are on independent branches. Recursive cloning pulls the wrong commits.

Each element is a separate Git repository cloned into Element/<Name>/ inside the Land repository root. Clone the main repo first, then each element individually on the Current branch.

The table below is the clone checklist, not the element catalogue: it lists every repository the workspace needs to compile, and Cache is on it because Mountain declares it as a path dependency. The reader-facing element set documented under Project Structure is a different list with a different job.

git clone https://github.com/CodeEditorLand/Land.git
cd Land

Element Repository Table

Element Repository Path in Land repo
Common github.com/CodeEditorLand/Common Element/Common
Cache github.com/CodeEditorLand/Cache Element/Cache
Echo github.com/CodeEditorLand/Echo Element/Echo
Vine github.com/CodeEditorLand/Vine Element/Vine
Mountain github.com/CodeEditorLand/Mountain Element/Mountain
Cocoon github.com/CodeEditorLand/Cocoon Element/Cocoon
Wind github.com/CodeEditorLand/Wind Element/Wind
Sky github.com/CodeEditorLand/Sky Element/Sky
Output github.com/CodeEditorLand/Output Element/Output
Rest github.com/CodeEditorLand/Rest Element/Rest
Worker github.com/CodeEditorLand/Worker Element/Worker
Mist github.com/CodeEditorLand/Mist Element/Mist
Maintain github.com/CodeEditorLand/Maintain Element/Maintain
Air github.com/CodeEditorLand/Air Element/Air
SideCar github.com/CodeEditorLand/SideCar Element/SideCar
Grove github.com/CodeEditorLand/Grove Element/Grove
Editor github.com/CodeEditorLand/Editor Dependency/Microsoft/Dependency/Editor

After cloning each element, check out its Current branch:

git -C Element/Mountain checkout Current

Repeat for every element. The repository is usable only when every element is on the Current branch at a compatible commit.


Step 1 - Compile VS Code Source 🔨

cd Land
cd Dependency/Microsoft/Dependency/Editor
nvm use 24
export NODE_ENV=development
git fetch --all
git reset --hard Parent/main
git clean -dfx
npm install
npm run compile
npm run compile-extensions-build

The Editor submodule uses npm, not pnpm. The Land workspace uses pnpm, but the VS Code platform build requires npm for its lockfile and lifecycle hooks.

The compilation takes approximately 5-8 minutes on a modern machine. The output is consumed by the @codeeditorland/output package.

What you should see: npm run compile and npm run compile-extensions-build finish without errors, and the Editor submodule stops being the blocking step.


Step 2 - Build Land Application 🔧

cd Land
./Maintain/Debug/Build.sh --profile debug-mountain

Two scripts own the build, and a profile name is valid only on the script that declares it. Maintain/Debug/Build.sh accepts the fifteen debug-* profiles; Maintain/Release/Build.sh accepts the release-* profiles plus production and web-browser. Passing a release profile to the debug script exits with Unknown profile rather than building something else.

Debug Profiles - Maintain/Debug/Build.sh

Profile Workbench Feature coverage Output type
debug Browser 70-80% Dev binary
debug-mountain Mountain 80-90% Dev binary
debug-electron Electron 95%+ Dev binary
debug-electron-rest Electron + OXC 95%+ with faster TS compiler Dev binary
debug-electron-minimal Electron No built-in extensions Dev binary
debug-mountain-only Mountain No Cocoon subprocess Dev binary
debug-cocoon-headless Mountain Mountain + Cocoon, Wind disabled Dev binary
debug-kernel None Pure Mountain, no built-ins Dev binary
debug-electron-compiled Electron Single-binary embedded resources, debug symbols Dev binary
debug-mountain-compiled Mountain Single-binary embedded resources, debug symbols Dev binary
debug-electron-bundled Electron Vite/Astro pre-compiled workbench Dev binary
debug-browser-bundled Browser Vite/Astro pre-compiled workbench Dev binary
debug-sessions-bundled Sessions Vite/Astro pre-compiled workbench Dev binary
debug-workbench-bundled Base workbench Vite/Astro pre-compiled workbench Dev binary
debug-bundled-all All four workbenches Single Rollup pass Dev binary

Release Profiles - Maintain/Release/Build.sh

Profile Workbench Purpose
production Mountain Default production build
release Mountain Full release with packaging and signing
release-electron Electron + OXC Full desktop, gRPC proxy
release-electron-minimal Electron release-electron without built-in extensions
release-mountain-only Mountain No Cocoon subprocess
release-cocoon-headless Mountain Wind preload disabled
release-kernel None Pure Mountain
release-electron-bundled Electron Vite/Astro pre-compiled workbench
release-browser-bundled Browser Vite/Astro pre-compiled workbench
release-sessions-bundled Sessions Vite/Astro pre-compiled workbench
release-workbench-bundled Base workbench Vite/Astro pre-compiled workbench
release-bundled-all All four workbenches Single Rollup pass
web-browser Browser Web deployment without Tauri packaging

The profile flag controls which workbench variant is compiled, which tier flags are active, and whether assets are pre-bundled. The debug-mountain profile is the fastest viable build for daily development; debug-electron provides the full feature set.

What you should see: Build.sh finishing and the artifacts appearing under Element/Mountain/Target/ - the exact tree is listed under Artifact Paths below. On macOS the debug bundle is re-signed as part of the same run.


Running After Build ▶️

# Launch the binary directly
./Element/Mountain/Target/debug/Mountain

# Or run through the development launcher, which starts the dev server and
# hot-reloads the workbench (HotReload/Watch default to true)
./Maintain/Debug/Run.sh --profile debug-mountain

Build.sh builds; it has no run flag. Maintain/Debug/Run.sh is the launcher for a development session, and Maintain/Debug.sh is a compatibility wrapper that forwards to Maintain/Debug/Build.sh.


Artifact Paths 📁

After a successful build, all artifacts are written inside the Element/ directory tree. Nothing is installed system-wide.

Land/
  Element/
    Mountain/Target/debug/
      Mountain              # Native Tauri binary
      bundle/macos/         # macOS .app bundle (signed), named by the
                            # resolved product identity
    Air/Target/debug/
      Air                   # Background daemon binary
    Cocoon/Target/
      Main.js               # Compiled extension host entry point
      Main.js.map
    Sky/Target/Static/
      Application/          # Extension assets
      Bundled/              # Pre-compiled workbench HTML and JS - only for a
                            # *-bundled profile
    Output/Source/          # The @codeeditorland/output compiler sources
    Wind/Source/            # Effect-TS service layer sources

Two details of that tree surprise readers. Every debug-* profile writes to Element/Mountain/Target/debug/; the profile name changes which tier flags and Sky assets are produced, not the target directory. And the .app bundle takes the product identity resolved from .env.Land (ProductNameLong and the ProductFlavor code), so it is not always literally Mountain.app - read the name the build printed rather than a name assumed from the repository.

Important

Never edit files under any Target/ directory. These are build outputs. Source lives in Public/ or Source/ within each element. Edits to Target/ are overwritten on the next build.


macOS Code Signing 🖊️

The debug build is automatically re-signed after the Tauri build step. The signing script at Maintain/Script/SignBundle.sh is invoked automatically by Maintain/Debug/Build.sh. Ad-hoc signing is used for debug builds (no Developer ID required).

To manually re-sign after modifying the bundle:

BundleLevel=debug sh Maintain/Script/SignBundle.sh

Tauri’s tauri.conf.json and the Entitlements.plist file are the single sources of truth for what the FIDDEE binary is permitted to do on macOS — hardened runtime, keychain access, and network client capability — without a separate Xcode project.


Quick Troubleshooting ⚠️

Symptom Fix
npm install stalls Set ELECTRON_SKIP_BINARY_DOWNLOAD=1 and PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
Playwright lockfile error rm -rf ~/Library/Caches/ms-playwright/__dirlock
App crashes on macOS BundleLevel=debug sh Maintain/Script/SignBundle.sh
Compilation errors in Editor git clean -dfx && rm -rf node_modules && npm install && npm run compile
Rust toolchain mismatch Check Land/rust-toolchain.toml and rustc --version
git submodule issues Never use --recursive. Clone each element individually on Current.

Funding 💎

Land’s development is funded by the NLnet NGI0 Commons Fund, a European initiative supporting open-source infrastructure. The project is maintained by PlayForm (Sofia, Bulgaria) as a non-profit effort. All code is dedicated to the public domain under CC0 - no CLA required, no copyright assignment, no restrictions on use.

Start, 4 PAGES, page 3 of 4

THE LAYER'S INDEX

NEXT: /BLOG 04 BLOG

NOTES FROM THE BUILD, NEWEST FIRST

〈06〉 /DOC/:SLUG 41 SHEETS AS OF: 2026-12-02