asciinema.org/app/views/docs/installation.html.md

105 lines
1.9 KiB
Markdown
Raw Normal View History

<% content_for(:title, 'Installation') %>
# Installation
## Python package
asciinema is available on [PyPI](https://pypi.python.org/pypi/asciinema) and can
be installed with pip (Python 3 required):
sudo pip3 install asciinema
## Docker image
asciinema Docker image is based on Ubuntu 16.04 and has the latest version of
asciinema recorder pre-installed.
docker pull asciinema/asciinema
When running it don't forget to allocate a pseudo-TTY (`-t`), keep STDIN open
(`-i`) and mount config directory volume (`-v`):
docker run --rm -ti -v "$HOME/.config/asciinema":/root/.config/asciinema asciinema/asciinema
## Native packages
### Arch Linux
pacman -S asciinema
### Debian
sudo apt-get install asciinema
### Fedora
For Fedora < 22:
sudo yum install asciinema
For Fedora >= 22:
sudo dnf install asciinema
2015-06-24 20:33:07 +00:00
### FreeBSD
Ports:
2015-06-24 20:33:07 +00:00
cd /usr/ports/textproc/asciinema && make install
Packages:
pkg install asciinema
### Gentoo Linux
emerge -av asciinema
2015-08-07 09:09:17 +00:00
### NixOS / Nix
2015-06-23 07:48:06 +00:00
2015-08-07 09:09:17 +00:00
nix-env -i go1.4-asciinema
2015-06-23 07:48:06 +00:00
2017-01-12 17:54:53 +00:00
### OpenBSD
2017-01-12 17:56:14 +00:00
pkg_add asciinema
2017-01-12 17:54:53 +00:00
2017-04-10 14:19:35 +00:00
### openSUSE
zypper in asciinema
### OS X
Homebrew:
<%= render 'install_homebrew' %>
MacPorts:
sudo port selfupdate && sudo port install asciinema
Nix:
nix-env -i go1.4-asciinema
### Ubuntu
sudo apt-add-repository ppa:zanchey/asciinema
sudo apt-get update
sudo apt-get install asciinema
### No package for your operating system?
If you use other operating system and you can build a native package for it then
don't hesitate, do it and let us know. We have [Github
issue](https://github.com/asciinema/asciinema/issues/116) where we track new
releases and packaging progress.
## Running latest version from master
2015-06-23 21:41:07 +00:00
If none of the above works for you (or you want to help with development) just
clone the repo and run asciinema straight from the checkout:
2015-06-23 21:41:07 +00:00
git clone https://github.com/asciinema/asciinema.git
cd asciinema
python3 -m asciinema --version