Manyshift is a POSIX-compliant shell script designed to allow you to easily install, manage, and run multiple versions of Minishift.
Note
|
|
-
Place
manyshift
in your$PATH
. The ~/bin directory is recommended. -
Add ~/.manyshift/bin to your
$PATH
. In Bash, run the following command to add ~/.manyshift/bin to your$PATH
:$ echo 'export PATH="$HOME/.manyshift/bin:$PATH"' >> ~/.bashrc
-
Start a new shell instance.
Use the manyshift add
command to install the given versions of Minishift.
You may supply multiple versions as arguments to the manyshift add
command.
Note
|
|
Example:
$ manyshift add latest 1.25.0 1.13.0
Note
|
The |
The active Minishift version used by Manyshift may be set with the manyshift use
command.
The manyshift use
command expects to be given the desired version string as an argument.
Example:
$ manyshift use 1.26.1
You may clear the active version by using the manyshift use
command without arguments.
Example:
$ manyshift use
Important
|
|
Note
|
The |
Use the manyshift which
command to display which version is currently active.
Example:
$ manyshift which 1.26.1
Note
|
The |
Use the manyshift ls
command to list the currently installed Minishift versions managed by Manyshift.
The currently active version is displayed as “(active)”.
Example:
$ manyshift ls 1.13.0 1.25.0 1.26.1 (active)
Note
|
The |
Minishift versions managed by Manyshift can be removed with the manyshift rm
command.
You may supply multiple versions as arguments to the manyshift rm
command.
Example:
$ manyshift rm 1.13.0 1.25.0
Important
|
|
Note
|
The |