Skip to main content

Module InstallShellCommand

Expand description

nativeHost:installShellCommand - create a land (or code) symlink in /usr/local/bin pointing at the running executable so the user can launch the editor from a terminal. Mirrors VS Code’s “Install ‘code’ command in PATH” command. Uses pkexec/osascript to acquire elevated privileges when /usr/local/bin is not writable by the current user.

Constants§

CLI_NAME 🔒
SYMLINK_DIR 🔒

Functions§

InstallShellCommand