0.0
No release in over 3 years
Serverkit plug-in for mise.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

>= 1.0.0
 Project Readme

Test Gem Version

serverkit-mise

Serverkit plug-in for mise.

Installation

# Gemfile
gem "serverkit-mise"

Usage

Prerequisites

  • Ensure you have serverkit gem installed
  • Ensure you have mise installed on your system

Basic Example

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.0

Then apply your recipe with Serverkit:

$ serverkit apply recipe.yml

Resource

mise_install

Install specified tool via mise.

Attributes

  • name - tool name (required)
  • version - tool version (optional)

Example

resources:
  - type: mise_install
    name: go
  - type: mise_install
    name: ruby
    version: 3.4.3

mise_use

Install specified tool and add the version to mise.yml.

Attributes

  • name - tool name (required)
  • version - tool version (optional, if not specified, the latest version will be installed)
  • global - global option (optional, default: true)

Example

resources:
  - type: mise_use
    name: go
    version: '1.23'
    global: false
  - type: mise_use
    name: ruby

Contributing

Bug reports and pull requests are welcome on GitHub at serverkit/serverkit-mise.

License

The gem is available as open source under the terms of the MIT License.