Installation
cargo install cargo-binstallcargo binstall knopebrew install knope-dev/tap/knopeDownload a pre-build binary:
gh release download --repo knope-dev/knope --pattern "*aarch64-apple*"tar -xvf knope*.tgzgh release download --repo knope-dev/knope --pattern "*x86_64-apple*"tar -xvf knope*.tgzThen copy the knope binary from the created directory to somewhere in your PATH.
cargo install knopeWindows
Section titled “Windows”choco install knopecargo install cargo-binstallcargo binstall knopegh release download --repo knope-dev/knope --pattern "*windows*"tar -xvf knope*.tgz # Press tab to expand to the correct nameThen copy the knope.exe binary from the created directory to somewhere in your PATH.
cargo install knopecargo install cargo-binstallcargo binstall knopebrew install knope-dev/tap/knopeThis will download a static musl binary, which should work on most Linux distributions.
gh release download --repo knope-dev/knope --pattern "*linux*"tar -xvf knope*.tgzThen copy the knope binary from the created directory to somewhere in your PATH.
cargo install knopeContinuous integration
Section titled “Continuous integration”GitHub Actions
Section titled “GitHub Actions”There is an official GitHub action for installation, which looks like this:
- name: Install Knope with: version: 0.21.7