The simplest way to install phanalist is to use the installation script.
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/denzyldick/phanalist/main/bin/init.sh | shIt will automatically download executable for your platform.
~/phanalist -V
phanalist 1.0.0You can also manually download your platform-specific binary from the latest GitHub release.
Available tarballs:
phanalist-aarch64-apple-darwin.tar.gzphanalist-x86_64-apple-darwin.tar.gzphanalist-aarch64-unknown-linux-musl.tar.gzphanalist-x86_64-unknown-linux-musl.tar.gzphanalist-aarch64-unknown-linux-gnu.tar.gzphanalist-x86_64-unknown-linux-gnu.tar.gzphanalist-x86_64-pc-windows-msvc.zip
Alternatively, you can compile it from sources on your local:
# Install RUST
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# Get the latest sources
git clone git@github.com:denzyldick/phanalist.git && cd phanalist
# Compile
cargo build -r
# Run the compiled executable
./target/release/phanalist -VAlso, you can install phanalist with Composer.
# Install package
composer require denzyl/phanalist
# Run executable
vendor/bin/phanalist -vAnother option is to use official docker image, by running the command at the root of your project:
docker run -it -v $(pwd):/var/src ghcr.io/denzyldick/phanalist:latest phanalist --src=/var/srcPhanalist is also listed on the Github action marketplace.
- name: Phanalist
uses: denzyldick/phanalist-action@v1