Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.34 KB

install.md

File metadata and controls

38 lines (28 loc) · 1.34 KB

Installation

The most simple way to try it out is to download precompiled binary for your OS. The most convenient way (in terms of regular updates) is to use Cargo.

Shell completion rules can be generated using investments completion command.

For Windows users: please run the program under Windows Terminal instead of ancient Command Prompt because it doesn't support color output.

Precompiled binaries

You can find precompiled binaries on Releases page.

Cargo

  1. Install Rust — https://www.rust-lang.org/tools/install
  2. Install or upgrade the package:
cargo install investments

If it fails to compile and you installed Rust a long time ago, try rustup update to update Rust to the latest version.

If you want to install the package from sources, use:

git clone https://github.com/KonishchevDmitry/investments.git
cd investments
cargo install --path . --force

Docker

  1. Install or upgrade:
DOCKER_BUILDKIT=1 docker build --pull --build-arg CACHE_DATE="$(date)" -t investments https://raw.githubusercontent.com/KonishchevDmitry/investments/master/install.dockerfile
  1. Run:
docker run --rm -t --user "$(id -u):$(id -g)" -v ~/.investments:/.investments investments