AirSonos requires node.js v0.10.x installed to run. (Progress for 0.11.x support here)
Install via npm
$ npm install airsonos -g
Install latest via source
$ git clone https://github.com/stephen/airsonos.git
$ cd airsonos
$ npm install -g
Some non-OS X platforms require additional dependencies or steps to work.
On linux machines, there are dependencies for libavahi-compat-libdnssd-dev libasound2-dev
packages (or equivalent). On distributions with apt
...
$ sudo apt-get install libavahi-compat-libdnssd-dev libasound2-dev
for yum
-based distros (CentOS/RHEL):
$ yum install avahi avahi-compat-libdns_sd avahi-compat-libdns_sd-devel
Note that for some distributions, nodejs
must be symlinked to node
prior to install.
See: #22
You will likely need to overclock your raspberry pi to achieve acceptable performance. (Working on making this suck less.)
There is a pre-packaged Windows install that you can use.
- Ensure that 32-bit node.js (version 0.10.33, 32-bit) is installed.
- Download and Install the Bonjour for Windows SDK (requires an AppleID)
- Download
airsonos_windows_x86.zip
- Create the folder
C:\Users\username\AppData\Roaming\npm
if it doesn't already exist. - Unzip the contents of this package at
C:\Users\username\AppData\Roaming\npm\
, so thatairsonos
andairsonos.cmd
are directly inside the\npm\
folder. - Open a command prompt and type
where airsonos
. The output should look something like:
C:\Users\stephen>where airsonos
C:\Users\stephen\AppData\Roaming\npm\airsonos
C:\Users\stephen\AppData\Roaming\npm\airsonos.cmd
- Type
airsonos
to run.
Building from source on Windows is not recommended.
Please report issues for this pre-packaged Windows installer here: #59