Ensure cross-env is on PATH.
If it’s missing, prompts the user and installs it globally via npm install -g cross-env.
Returns the full path to the cross-env executable.
Ensure the dx CLI (the Dioxus helper) is on PATH.
If missing, prompts the user to install the Dioxus CLI via cargo install dioxus-cli.
Returns the full path to the dx executable.
Ensure the cargo-leptos CLI is on PATH.
If missing, prompts the user to install it via cargo install cargo-leptos.
Returns the full path to the cargo-leptos executable.
Ensure the napi CLI is on PATH (provided by @napi-rs/cli).
If missing, prompts the user and installs it globally via npm install -g @napi-rs/cli.
Returns the full path to the napi executable.
Ensure node is on PATH.
If missing, attempts to install Node.js using nvm (automated for Windows, manual prompt otherwise).
Returns the full path to the node executable.
Ensure pnpm is on PATH.
Ensures Node.js is installed first.
If it’s missing, will use npm (via ensure_npm) to install pnpm globally.
Returns the full path to the pnpm executable.