← 返回命令列表

Linux command

darling 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Example

darling shell [uname]

Example

darling shell [path/to/program] [argument1] [argument2]

Example

darling shell

Shutdown

darling shutdown

说明

darling is a translation layer that allows running macOS software on Linux, similar to how Wine runs Windows software on Linux or Wine64 runs 64-bit Windows applications. It translates macOS system calls into Linux equivalents and provides compatible implementations of macOS frameworks and libraries. The tool creates a macOS-compatible environment within Linux, including implementations of Foundation, CoreFoundation, and other essential Apple frameworks. Applications run in a prefix (similar to Wine), isolating them from the host system while providing access to necessary resources. The shell command provides access to run macOS binaries and commands within the Darling environment. You can run individual macOS programs, use built-in macOS utilities like uname, or open an interactive shell that behaves like a macOS terminal. Darling is particularly useful for developers who need to test macOS applications on Linux, or for users who want to run specific macOS tools without access to Apple hardware.

参数

shell _command_
Run a command, or open an interactive macOS shell when no argument is given.
shutdown
Stop the Darling service and unmount the prefix.
version
Print the Darling version.
help
Show usage information.

FAQ

What is the darling command used for?

darling is a translation layer that allows running macOS software on Linux, similar to how Wine runs Windows software on Linux or Wine64 runs 64-bit Windows applications. It translates macOS system calls into Linux equivalents and provides compatible implementations of macOS frameworks and libraries. The tool creates a macOS-compatible environment within Linux, including implementations of Foundation, CoreFoundation, and other essential Apple frameworks. Applications run in a prefix (similar to Wine), isolating them from the host system while providing access to necessary resources. The shell command provides access to run macOS binaries and commands within the Darling environment. You can run individual macOS programs, use built-in macOS utilities like uname, or open an interactive shell that behaves like a macOS terminal. Darling is particularly useful for developers who need to test macOS applications on Linux, or for users who want to run specific macOS tools without access to Apple hardware.

How do I run a basic darling example?

Run `darling shell [uname]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does shell _command_ do in darling?

Run a command, or open an interactive macOS shell when no argument is given.