- Download the binary for your platform from the latest release.
- Rename the binary to
strm
and make sure it's executable - Make sure that you put the
strm
binary somewhere on yourPATH
. - (only for initial setup) Add the following lines to your
.bashrc
/.zshrc
or equivalent:source <(strm --generate-completion <shell>)
. Don't forget to replace<shell>
with the respective value for your shell type (bash
,zsh
,fish
). - For macOS: please allow the binary to circumvent app notarization for now (we're looking into other solutions):
xattr -d -r com.apple.quarantine strm-v0.1.0-mac
- Install GraalVM:
sdk list java
andsdk install java <latest_graalvm>
. Note: user11
for JDK11+ andr8
for JDK8 - Install Native Image GraalVM component:
gu install native-image
- Make sure when running maven, you've set GraalVM as the JDK to use in that shell (hence,
JAVA_HOME
is set to GraalVM)