How to install Wired Server (UNIX) on Mac OSX

This How-To explains how to compile and install a Wired Server from sources on Mac OS X system.

Install Xcode

You will have to compile the Wired Server source code, so you need to have developer tools installed on your system:

Once installed, you have to download and install Xcode additional components named "Command Line Tools". You will find how into > Preferences > Downloads.

Install Wired Server

  1. Download Wired tarball:

    curl -O
  2. Deflate the archive:

    tar -xvzf wired.tar.gz
  3. Move into Wired sources directory:

    cd wired/
  4. Configure Wired Server package for your operating system:


    By default, Wired Server directory is installed into /usr/local/. Also by default, Wired Server will be configured to run with your current user in the 'daemon' group. You can use a custom path by using the --prefix option:

    ./configure --prefix=/usr/local/wired2
  5. Compile Wired Server package:

  6. Install Wired Server binaries on your system (using prefix is specified):

    sudo make install

    And type your administrator password.

  7. Start your newly installed Wired Server:

    /usr/local/wired/wiredctl start

    If you used a custom prefix:

    /usr/local/wired2/wired/wiredctl start

    Use the following command to stop it:

    /usr/local/wired/wiredctl stop

    Run /usr/local/wired/wiredctl help to get the list of supported commands.

Install LaunchAdgent

Maybe you would like to launch Wired Server as a service at session login. On Mac OS X, you have to use what is called a LaunchAdgent. Actually, an agent is a p-list file which describes a job for the system to handle and execute.

Assume that we installed Wired Server with a custom prefix like this: /usr/local/wired2. The following example show you how to start Wired Server at session login:

  1. Open a Terminal window and type:

    touch ~/Library/LaunchAgents/ && open -a TextEdit ~/Library/LaunchAgents/
  2. should open. Copy/Paste the following content:

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" " DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
  3. Save and close the file.

  4. Now you have to ask launchd to load your newly created agent. In a Terminal:

    launchctl load ~/Library/LaunchAgents/

    This will register the job from launchd and start Wired Server. Close your session then login again to test it.

    Use the following command to stop it:

    launchctl unload ~/Library/LaunchAgents/

Use Case

We can easily imagine to run several Wired Server instances on the same user session. These explanations are also valid for old versions of Wired Server provided by Zanka Software (1.3.x, 2.0).