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.
You can find precompiled binaries on Releases page.
- Install Rust — https://www.rust-lang.org/tools/install
- 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
- 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
- Run:
docker run --rm -t --user "$(id -u):$(id -g)" -v ~/.investments:/.investments investments