Skip to content

dev-itbasis-sdkm/sdkm

Repository files navigation

SDK Manager

GitHub go.mod Go version badge

Install

  1. Unpack to any directory. For example, in $HOME/.sdkm/ (further this path in the documentation will be referred to as SDKM_HOME)

  2. (Optional) Add the path to $SDKM_HOME to PATH - if you use hooks, this will be done automatically: export PATH=${SDKM_HOME}:${PATH}

  3. Unpack scripts for shims: ./sdkm reshim

  4. Enjoy [smile o]

Terminal hooks

  1. ZSH

    It is necessary to add the line source $SDKM_HOME/hook.zsh to ~/.zshrc

  2. Bash

    It is necessary to add the line source $SDKM_HOME/hook.bash to ~/.bashrc

Caching available versions

To optimize the number of requests, the application caches the list of received SDK versions in $SDKM_HOME/.cache for a day