For AI agents: the complete documentation index is available at https://canary.gukhanmun.org/llms.txt, the full documentation bundle is available at https://canary.gukhanmun.org/llms-full.txt, and this page is available as Markdown at https://canary.gukhanmun.org/guide/cli/install.md.

Installation

The native Gukhanmun executable has no runtime dependencies. Installation via mise is recommended. Python tooling can also install the native binaries through a small Python launcher. The npm package's launchers require Node.js 22 or later, including when installed with pnpm or Bun.

Via mise

If you use mise, install a prebuilt binary with a single command:

mise use -g aqua:dahlia/gukhanmun

The -g flag installs it globally. Omit it to activate the tool only in the current project directory.

Via Windows Package Manager (winget)

On Windows, install via winget:

winget install HongMinhee.Gukhanmun

From crates.io

If you have a Rust toolchain installed, install from crates.io:

cargo install gukhanmun-cli gukhanmun-mkdict

This compiles the binaries and places them in ~/.cargo/bin/. Make sure that directory is on your PATH.

From npm

With Node.js 22 or later, install both the converter and dictionary builder globally using your package manager:

npm
pnpm
bun
npm install -g @gukhanmun/cli@latest
gukhanmun --help
gukhanmun-mkdict --help

Or run either command without a global installation. Specify both the package and command because the package exposes two executables:

npm
pnpm
bun
npx --package @gukhanmun/cli@latest gukhanmun --help
npx --package @gukhanmun/cli@latest gukhanmun-mkdict --help

Repeat the global installation command to update. For development builds, use @dev instead of @latest:

npm
pnpm
bun
npm install -g @gukhanmun/cli@dev

The package contains native CLI executables, not the Node-API binding. It supports macOS, Windows and Linux on x64/arm64. Linux uses static musl binaries on both musl and compatible glibc hosts. No Rust compiler or installation scripts are needed; installation works with --ignore-scripts.

Keep optional dependencies enabled: they contain the executables for your platform. If a launcher reports one missing, reinstall with optional dependencies enabled. For npm, use npm install -g @gukhanmun/cli@latest --include=optional. Unsupported platforms fail with a diagnostic rather than downloading or compiling an executable.

Build a dictionary with gukhanmun-mkdict words.tsv -o words.gukfst. The package's five version-matched completion scripts are for gukhanmun; locate them with gukhanmun --print-completion-path SHELL. This launcher-only option is separate from native help. For activation commands, see the package README. Neither the package manager nor Gukhanmun edits shell startup files. The native completion generator also works through the launcher.

Development artifacts retain X.Y.Z-dev.N+sha in installed manifests and the native version output; npm registry keys and dist-tags omit the build metadata. Later development publications leave latest unchanged. On first publication, npm may also assign latest to the initial development version. Use @dev explicitly to follow development builds.

From PyPI (pipx or uv)

With Python 3.11 or later, install the standalone CLI using either tool:

uv
pipx
uv tool install gukhanmun-cli

Choose one tool, not both. The wheel includes both native executables and the converter's compiled-in dictionaries; installation and first use do not download executable payloads or require Rust. The gukhanmun-cli package is separate from the gukhanmun Python library and its dictionary extras. It installs two commands: gukhanmun and gukhanmun-mkdict, the custom dictionary builder.

The six wheels support Linux x86_64/aarch64 on glibc 2.28+ or musl 1.2+, macOS 11+ on x86_64/arm64, and Windows on AMD64/ARM64. Linux wheels carry both manylinux and musllinux tags for the same statically linked musl executable. Their release checks execute that same wheel on both libc families. These are userland checks on current kernels, not execution evidence for an old Linux kernel. The Rust toolchain's Windows baseline is Windows 10/Server 2016; the installed Python interpreter may require a newer OS. Release tests use current native hosted runners, not every OS version at the support floor.

The launcher is tested on CPython 3.11 and 3.15, the minimum and current pins, and PyPy 3.11/3.12 where those interpreters are available. Intermediate and later CPython versions are untested. PyPy on musl and Windows ARM64 is outside the tested matrix. There is no source distribution: unsupported platforms fail rather than falling back to an unchecked download or a Rust build.

Ordinary installation prefers a compatible stable release. To opt into development builds:

uv
pipx
uv tool install --prerelease allow gukhanmun-cli

The release checks use uv 0.13.7 and pipx 1.18.16 with its pip backend. If the tool is already installed, use that installer's upgrade command or uninstall it first. A development version uses the workspace's next planned version and a workflow run number, such as 0.4.0.dev123. Before the first suitable stable release exists, an installer can select a development release even without an explicit prerelease option. Pinning the exact version of a development release also installs it.

Remove the installation with the tool that installed it:

uv
pipx
uv tool uninstall gukhanmun-cli

The wheel already contains the version-matched Bash, zsh, fish, PowerShell and Nushell scripts as gukhanmun_cli package resources under completions/. The installed command also emits them with --generate-completion.

Bundling completion files does not activate them in your shell. Files installed under a pipx or uv tool environment are not automatically added to your shell's completion search paths. Neither installation method changes shell startup files or system completion directories.

Prebuilt binaries

Prebuilt binaries for Linux (x86_64, aarch64), macOS (x86_64, aarch64), and Windows (x86_64, ARM64) are attached to each release on GitHub:

GitHub Releases

Download the archive for your platform, extract it, and place the gukhanmun and gukhanmun-mkdict executables somewhere on your PATH.

Shell completions

Activate completions explicitly, using the command on your PATH:

Bash
zsh
fish
PowerShell
Nushell
source <(gukhanmun --generate-completion bash)

To persist activation, save the emitted script to your own shell configuration directory and explicitly source or import it. See Getting started for the shared completion behavior and checks.

The gukhanmun-mkdict companion

The npm, pipx, uv and mise installs, the crates.io install and the prebuilt archives include gukhanmun-mkdict, the tool for compiling custom dictionaries. Installing gukhanmun-cli with pipx or uv exposes both commands; uninstalling the package removes both.

Verify the installation

gukhanmun --help
gukhanmun-mkdict --help