@ -2,52 +2,30 @@
# Installation
# Installation
## The easy way
< %= render partial: 'docs/script_install' %>
## Manual download
You can
[download the latest binary ](https://github.com/asciinema/asciinema/releases )
for your platform and place it in your `$PATH` .
## Using package manager
## Using package manager
You can also use your favorite package manager to install asciinema recorder.
Note that it takes time for native packages to be updated so you may not get
the latest released version.
### OS X
### OS X
On OS X asciinema is available via Homebrew:
Homebrew:
brew update
brew update
brew install asciinema
brew install asciinema
Or via MacPorts:
MacPorts:
sudo port selfupdate
sudo port selfupdate
sudo port install asciinema
sudo port install asciinema
### Arch Linux
### Arch Linux
Arch Linux users can install the
[AUR package ](https://aur.archlinux.org/packages/asciinema/ ):
sudo yaourt -S asciinema
sudo yaourt -S asciinema
### Fedora
### Fedora
asciinema rpm package is included in the main Fedora 19 and 20 repository:
sudo yum install asciinema
sudo yum install asciinema
### Gentoo Linux
### Gentoo Linux
Gentoo Linux users can install asciinema from
[Mauro Toffanin's overlay ](https://github.com/Dr-Terrible/go-overlay ):
emerge -av app-portage/layman
emerge -av app-portage/layman
wget -q -O /etc/layman/overlays/go-overlay.xml https://raw.github.com/Dr-Terrible/go-overlay/master/overlay.xml
wget -q -O /etc/layman/overlays/go-overlay.xml https://raw.github.com/Dr-Terrible/go-overlay/master/overlay.xml
layman -Lk
layman -Lk
@ -56,26 +34,35 @@ Gentoo Linux users can install asciinema from
### Nix / NixOS
### Nix / NixOS
If you're using Nix package manager then we have you covered too:
nix-env -i asciinema
nix-env -i asciinema
### Ubuntu
### Ubuntu
To install Ubuntu package add
[zanchey ppa ](https://launchpad.net/~zanchey/+archive/asciinema ) to your
software sources list:
sudo apt-add-repository ppa:zanchey/asciinema
sudo apt-add-repository ppa:zanchey/asciinema
sudo apt-get update
sudo apt-get update
sudo apt-get install asciinema
sudo apt-get install asciinema
### No package for your operating system?
### No package for your operating system?
If you use other operating system and you know how to build a native package
If you use other operating system and you can build a native package
for it then don't hesitate, build one and let us know.
for it then don't hesitate, do it and let us know.
## From source
## From source
For instructions on building asciinema from source please refer to the
If you have Go toolchain installed you can install latest (master) version with:
[README file ](https://github.com/asciinema/asciinema/blob/master/README.md ).
go get github.com/asciinema/asciinema
Refer to the
[README file ](https://github.com/asciinema/asciinema/blob/master/README.md )
for detailed instructions on building from source.
## Download static binary
There are prebuilt static binaries for Mac OS X and Linux. You can
[download ](https://github.com/asciinema/asciinema/releases ) one
for your platform and place it in your `$PATH` .
You can use the following snippet to fetch and run our install script, which automates this:
curl -sL https://asciinema.org/install | sh