2
0
mirror of https://github.com/miguelmota/cointop synced 2024-11-18 15:25:31 +00:00
cointop/docs/content/install.md
2021-03-27 12:52:28 -07:00

4.0 KiB

title date draft
Install 2020-01-01T00:00:00-00:00 false

Install

There are multiple ways you can install cointop depending on the platform you're on.

From source (always latest and recommeded)

Make sure to have go (1.12+) installed, then do:

go get github.com/miguelmota/cointop

The cointop executable will be under ~/go/bin/cointop so make sure $GOPATH/bin is added to the $PATH variable if not already.

Now you can run cointop:

cointop

Binary (all platforms)

You can download the binary from the releases page.

curl -o- https://raw.githubusercontent.com/miguelmota/cointop/master/install.sh | bash
wget -qO- https://raw.githubusercontent.com/miguelmota/cointop/master/install.sh | bash

Homebrew (macOS)

cointop is available via Homebrew for macOS:

brew install cointop

Run

cointop

Snap (Ubuntu)

cointop is available as a snap for Linux users.

sudo snap install cointop --stable

Running snap:

sudo snap run cointop

Note: snaps don't work in Windows WSL. See this issue thread.

Copr (Fedora)

cointop is available as a copr package.

First, enable the respository

sudo dnf copr enable miguelmota/cointop -y

Install cointop

sudo dnf install cointop

Run

cointop

AUR (Arch Linux)

cointop is available as an AUR package.

git clone https://aur.archlinux.org/cointop.git
cd cointop
makepkg -si

Using yay

yay -S cointop

XBPS (Void Linux)

cointop is available as a XBPS package.

sudo xbps-install -S cointop

Flatpak (Linux)

cointop is available as a Flatpak package via the Flathub registry.

Add the flathub repository (if not done so already)

sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Install cointop flatpak

sudo flatpak install flathub com.github.miguelmota.Cointop

Run cointop flatpak

flatpak run com.github.miguelmota.Cointop

NixOS (Linux)

cointop is available as a nixpkg.

nix-env -iA nixpkgs.cointop

AppImage (Linux)

You can download the AppImage from the releases page.

VERSION=$(curl --silent "https://api.github.com/repos/miguelmota/cointop/releases/latest" | grep -Po --color=never '"tag_name": ".\K.*?(?=")')
URL="https://github.com/miguelmota/cointop/releases/download/v$VERSION/cointop-v$VERSION.glibc2.32-x86_64.AppImage"
wget $URL

Make AppImage executable:

chmod +x cointop-*.AppImage

Run AppImage:

./cointop-*.AppImage

FreshPorts (FreeBSD / OpenBSD)

cointop is available as a FreshPort package.

sudo pkg install cointop

Windows (PowerShell / WSL)

Install Go and git, then:

go get -u github.com/miguelmota/cointop

You'll need additional font support for Windows. Please see the wiki for instructions.

Docker

cointop is available on Docker Hub.

docker run -it cointop/cointop

Binaries

You can find pre-built binaries on the releases page.