Prerequisites
- Linux: Ubuntu 20.04 LTS or later, on x86_64 or arm64
- macOS: 11.0 or later, on a Mac with Apple silicon (arm64)
- Windows: Windows 10 or Windows 11, x86_64
- Connect the device according to its product’s connection instructions. When using Ethernet, make sure the device and computer are on the same local network.
Installation
- Linux / macOS
- Windows
Linux and macOS use the same install script:If your shell can’t find
wuji after installation, add ~/.local/bin to PATH in your shell configuration, then reopen the terminal.Alternatively, download the package for your platform from Releases, extract it, and place wuji in a directory on your PATH:- Linux:
x86_64-unknown-linux-gnuoraarch64-unknown-linux-gnu - macOS:
aarch64-apple-darwin
Verification
Runwuji device list to discover devices and probe connectivity. Use wuji device list --no-probe to list discovery results without opening sessions:
Global Options
Use the command’s--help to check supported options and device types. An unsupported global option returns exit code 2 before connecting.
--sn, --address, and the --handedness / --type filters are three mutually exclusive target groups. Use only one group per command. You can combine --handedness with --type. Combining groups returns 2 with conflicting_options.
For read commands such as get, resources, and sub, the CLI filters discovered devices and connects when one suitable device remains. Multiple candidates return 2 with ambiguous_device, without a device menu. viz, hand model calibration, and active doctor checks offer a device menu in an interactive terminal. set requires an explicit --sn or --address.
--timeout sets the wait limit. Read and write commands default to five seconds, and device listing defaults to ten seconds. Commands that do not support this option return exit code 2 when it is supplied. See each command’s --help for its scope and default value.
See Device Management for device-list states and targeting behavior.
Update the CLI
wuji update --check shows the current version, the latest version, the Skills status, and release notes for available updates. wuji update syncs the official Skills for the installed CLI and cleans up removed official entries. Custom Skills and Skills in development are retained. If you skipped Skills during installation, run wuji update --skills to install the set for your current CLI version.
The CLI shows a notice in the terminal when a new version is available, at most once every 24 hours. Set WUJI_NO_UPDATE_CHECK=1 to turn off version update notices.
Set Up Shell Completions (Optional)
Shell completion lets you press Tab to complete subcommands and flags. Runwuji completions --help for the setup commands of your shell, then restart the terminal to apply them.
Bash example: