/sdkman-cli-native

The next generation of SDKMAN! CLI commands, written in Rust

Primary LanguageRustApache License 2.0Apache-2.0

SDKMAN! Native CLI components

release

Native CLI subcommand components for SDKMAN! written in Rust. Use the binaries generated by this project in the sdk wrapper shell function from the sdkman-cli project.

Getting this on your machine

Nothing needs to be done if you are using one of the following supported architectures:

  • aarch64-unknown-linux-gnu
  • x86_64-unknown-linux-gnu
  • aarch64-apple-darwin
  • x86_64-apple-darwin
  • x86_64-pc-windows-msvc

The default installer will automatically detect your architecture and install the latest release version on your machine.

Local development setup:

  1. Install the Rust toolchain with rustup.
  2. Build the project with Cargo using cargo build
  3. Install the native binaries into the libexec folder of your local SDKMAN installation with ./install.sh
  4. Try it out!
$ sdk help
$ sdk help [subcommand]