Install Jikkou API Server
This guide shows how to install the Jikkou API Server.
This guide covers installing the Jikkou CLI, either from source or from releases. To install the REST server, see Install API Server.
The latest stable release of jikkou (x86) for Linux, and macOS can be retrieved via SDKMan!:
sdk install jikkou
Every release released versions of Jikkou is available:
These are the official ways to get Jikkou releases that you manually downloaded and installed.
unzip jikkou-<version>-linux-x86_64.zip)mv jikkou-<version>-linux-x86_64 /opt/jikkou)export PATH=$PATH:/opt/jikkou/bin)From there, you should be able to run the client: jikkou help.
It is recommended to install the bash/zsh completion script jikkou_completion:
wget https://raw.githubusercontent.com/streamthoughts/jikkou/main/jikkou_completion -O jikkou_completion
or alternatively, run the following command for generation the completion script.
$ source <(jikkou generate-completion)
# Create a Jikkou configfile (i.e., jikkouconfig)
cat << EOF >jikkouconfig
{
"currentContext" : "localhost",
"localhost" : {
"configFile" : null,
"configProps" : {
"provider.kafka.config.client.bootstrap.servers" : "localhost:9092"
}
}
}
EOF
# Run Docker
docker run -it \
--net host \
--mount type=bind,source="$(pwd)"/jikkouconfig,target=/etc/jikkou/config \
streamthoughts/jikkou:latest -V
In addition to releases you can download or install development snapshots of Jikkou.
Docker images are built and push to Docker Hub from the latest main
branch.
They are not official releases, and may not be stable.
However, they offer the opportunity to test the cutting edge features.
$ docker run -it streamthoughts/jikkou:main
Building Jikkou from source is slightly more work, but is the best way to go if you want to test the latest ( pre-release) Jikkou version.
To build the project you will need:
$JAVA_HOME environment variable is configured).# Build and run all tests
./mvnw clean verify -Pnative
You can then execute the native executable with: ./jikkou-cli/target/jikkou-$PROJECT_VERSION-runner
# Build and run all tests
./mvnw clean package -Pnative
./mvnw package -Pdeb
You can then install the package with: sudo dpkg -i ./dist/jikkou-$PROJECT_VERSION-linux-x86_64.deb
NOTE: Jikkou will install itself in the directory : /opt/jikkou
# Build and run all tests
./mvnw clean package -Pnative
./mvnw package -Prpm
The RPM package will available in the ./target/rpm/jikkou/RPMS/noarch/ directory.
This guide shows how to install the Jikkou API Server.
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.