Installation
Install the Ledger Enterprise Multisig CLI from npm.
What you'll learn
Install
lemglobally or invoke it ad-hoc withnpx.Verify the installation.
Set up the prerequisites for hardware signing on a Ledger device.
Prerequisites
Node.js 22+ (run node --version to check).
macOS, Linux, or Windows. On Linux, USB access to a Ledger device requires the Ledger udev rules.
Ledger device with the Ethereum app installed (only required when signing with hardware. Read-only commands like
lem safe infowork without one).
Install
Global install (recommended)
npm install -g les-multisig-cliAfter install, lem is available on your $PATH.
lem --versionnpx (no install)
npx les-multisig-cli@latest --versionUse this for one-off invocations or CI jobs that don't want to maintain a global install.
Build from source
For contributors or anyone who needs to run an unreleased build:
Verify
Run any read-only command. No device or config is required:
lem --version should print the installed CLI version.
Ledger device setup
Before running commands that sign or execute transactions:
Plug your Ledger device into a USB port.
Unlock it with your PIN.
Open the Ethereum app on the device.
Make sure Blind signing is enabled if you plan to sign payloads that contain calldata the Ethereum app cannot decode natively. Ledger Multisig surfaces clear-signing where it can.
Your device must be unlocked and on the Ethereum app each time lem talks to it.
Tips and pitfalls
No device, no problem. Read-only commands (
safe scan,safe info,safe balances,safe nonce,tx list,tx show) do not need a connected device or alem connectsession.Don't run as root. USB access on Linux should be granted via udev rules, not by running
lemwithsudo.Conflicting installs. If
lem --versiondoesn't match what you just installed, check for a stale build symlinked into~/.local/binor another directory ahead of npm's global bin on$PATH.
Next steps
Quickstart
Configuring a signer
Last updated