Installation
Local
macOS
cargo install binstallcargo binstall knope
brew install knope-dev/tap/knope
Download a pre-build binary:
gh release download --repo knope-dev/knope --pattern "*aarch64-apple*"tar -xvf knope*.tgz
gh release download --repo knope-dev/knope --pattern "*x86_64-apple*"tar -xvf knope*.tgz
Then copy the knope
binary from the created directory to somewhere in your PATH.
cargo install knope
Windows
choco install knope
cargo install binstallcargo binstall knope
gh release download --repo knope-dev/knope --pattern "*windows*"tar -xvf knope*.tgz # Press tab to expand to the correct name
Then copy the knope.exe
binary from the created directory to somewhere in your PATH.
cargo install knope
Linux
cargo install binstallcargo binstall knope
brew install knope-dev/tap/knope
This 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*.tgz
Then copy the knope
binary from the created directory to somewhere in your PATH.
cargo install knope
Continuous integration
GitHub Actions
There is an official GitHub action for installation, which looks like this:
- name: Install Knope uses: knope-dev/action@v2.0.0 with: version: 0.13.0