-
Notifications
You must be signed in to change notification settings - Fork 2
Installation
The Wukong CLI supports the following platform:
- Linux x86_64.
- MacOS x86_64.
- MacOS Aarch64 (Apple Silicon).
There are 2 (two) methods to install the Wukong CLI.
NOTE: If you don't know what is Homebrew, please visit this website before continue further ! 👉 https://brew.sh/
If you are using Homebrew (on either MacOS or Linux), you can install the Wukong CLI using the following commands.
brew tap mindvalley/wukong
brew update
brew install wukongYou can download the compiled binary from Github using the following commands.
For Linux x86_64.
https://github.com/mindvalley/wukong-cli/releases/download/$version/wukong-$version-dev-linux-x86.tar.gz
For MacOS x86_64.
https://github.com/mindvalley/wukong-cli/releases/download/$version/wukong-$version-dev-macOS-x86.tar.gz
For Apple Silicon.
https://github.com/mindvalley/wukong-cli/releases/download/$version/wukong-$version-dev-macOS-arm.tar.gz
If you are installing from Homebrew, following this guide to enable the completion in your preferred shell. Current Wukong CLI supports auto completion on bash/zsh/fish.
https://docs.brew.sh/Shell-Completion
If you are downloading from Github, when extracting the tarball, there is a folder named completions inside. Copy the completion script for your prefered shell to somewhere and source it in your shell. For example
tar -xf wukong-v0.0.1-dev-linux-x86.tar.gz
cp wukong-v0.0.1-dev-linux-x86/completion/bash/wukong.bash /usr/local/share/wukong/
echo 'source /usr/local/share/wukong/wukong.bash' >> /etc/.bashrc
©️ 2022 Mindvalley