The easy way

Linux OSX

For OSX and Linux, pop open a terminal window and run the following command:

curl https://conductance.io/install.sh | bash -e
Windows

For Windows, download and run the appropriate self-installer:

32-bit (.exe) / 64-bit (.exe)

This will install Conductance into ~/.conductance/, and optionally add a shortcut in /usr/bin/conductance (OSX / Linux) or add itself to your $PATH (Windows).

Install With npm

If you already have a recent version of nodejs (including npm), you can get Conductance with:

npm install -g conductance

Bleeding Edge

If you want to modify the Conductance code itself or otherwise need the latest (unstable) code, you can clone our Github repository. As with the above method, you'll need a recent version of nodejs (including npm). Then run the following:

git clone https://github.com/onilabs/conductance.git
cd conductance
npm install --production

Updating an installed version

If you installed Conductance using the first method ("the easy way"), you can update to the latest version with:

conductance self-update

If you choose a different method of installation, the self-update command won't be defined - you'll need to apply updates yourself (using npm or git directly).


Check your installation:

All of Conductance's functionality is exposed through the conductance executable. To check that everything is installed properly, run:

conductance version

That should print the version of Conductance and its components to your terminal.

If you opted out of a global installation, you'll instead need to run conductance using its full path:

~/.conductance/bin/conductance version

Add conductance to $PATH:

If you told the installer not to add a global conductance shortcut, you might not want to type ~/.conductance/bin/conductance each time you want to run Conductance. Instead, you can add Conductance's install location to your shell's $PATH. The easiest way of doing that is to add the following line to the end of your ~/.bashrc file:

export $PATH="$HOME/.conductance/bin:$PATH"