# Gemfile
gem "serverkit-mise"Create a recipe file that uses the mise resources:
# recipe.yml
resources:
# Install Node.js using mise
- type: mise_install
name: node
version: 20.10.0
# Install Ruby and set it as global
- type: mise_use
name: ruby
version: 3.3.0Then apply your recipe with Serverkit:
$ serverkit apply recipe.ymlInstall specified tool via mise.
name- tool name (required)version- tool version (optional)
resources:
- type: mise_install
name: go
- type: mise_install
name: ruby
version: 3.4.3Install specified tool and add the version to mise.yml.
name- tool name (required)version- tool version (optional, if not specified, the latest version will be installed)global- global option (optional, default:true)
resources:
- type: mise_use
name: go
version: '1.23'
global: false
- type: mise_use
name: rubyBug reports and pull requests are welcome on GitHub at serverkit/serverkit-mise.
The gem is available as open source under the terms of the MIT License.