Skip to content

Repository files navigation

TestGem Version

serverkit-mise

Serverkit plug-in for mise.

Installation

# Gemfilegem"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.ymlresources:
# Install Node.js using mise
- type: mise_installname: nodeversion: 20.10.0# Install Ruby and set it as global
- type: mise_usename: rubyversion: 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_installname: go
- type: mise_installname: rubyversion: 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_usename: goversion: '1.23'global: false
- type: mise_usename: 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.

About

Serverkit plug-in for mise.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages