Skip to content

docs: add documentation for os field in tool configuration#5947

Merged
jdx merged 1 commit intomainfrom
docs/os-field-configuration
Aug 7, 2025
Merged

docs: add documentation for os field in tool configuration#5947
jdx merged 1 commit intomainfrom
docs/os-field-configuration

Conversation

@jdx
Copy link
Copy Markdown
Owner

@jdx jdx commented Aug 7, 2025

Summary

  • Added documentation for the os field in tool configuration
  • Explains how to restrict tools to specific operating systems

Details

This PR adds a new section "OS-Specific Tools" to the dev-tools documentation that explains how to use the os field to restrict tool installation to specific operating systems (linux, macos, windows).

The documentation includes:

  • Basic usage examples
  • List of supported OS identifiers
  • How it works with other tool options
  • Clear explanation of the behavior when OS restrictions are applied

Fixes the issue where the os field was being used in mise.toml files but was not documented in the user-facing documentation.

🤖 Generated with Claude Code

Add documentation explaining how to use the os field to restrict
tools to specific operating systems in mise.toml configuration files.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings August 7, 2025 12:17
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds documentation for the os field in tool configuration to explain how to restrict tool installation to specific operating systems. This addresses a gap where the feature was available but undocumented.

  • Adds a new "OS-Specific Tools" section to the dev-tools documentation
  • Documents supported OS identifiers (linux, macos, windows) and usage patterns
  • Provides clear examples showing integration with other tool configuration options
Comments suppressed due to low confidence (1)

@github-actions
Copy link
Copy Markdown

github-actions bot commented Aug 7, 2025

Hyperfine Performance

mise x -- echo

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2025.8.7 x -- echo 19.2 ± 0.3 18.6 23.1 1.01 ± 0.06
mise x -- echo 19.0 ± 1.1 17.9 33.8 1.00

mise env

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2025.8.7 env 18.1 ± 0.4 17.4 20.6 1.00
mise env 18.1 ± 0.9 17.4 32.5 1.00 ± 0.05

mise hook-env

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2025.8.7 hook-env 17.8 ± 0.8 17.0 29.6 1.00
mise hook-env 18.1 ± 0.9 17.1 30.1 1.02 ± 0.07

mise ls

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2025.8.7 ls 16.6 ± 0.3 15.9 18.7 1.01 ± 0.03
mise ls 16.5 ± 0.4 15.9 18.4 1.00

xtasks/test/perf

Command mise-2025.8.7 mise Variance
install (cached) 190ms ✅ 128ms +48%
ls (cached) 81ms 82ms -1%
bin-paths (cached) 65ms 65ms +0%
task-ls (cached) 483ms 469ms +2%

✅ Performance improvement: install cached is 48%

@jdx jdx merged commit 36323f8 into main Aug 7, 2025
20 checks passed
@jdx jdx deleted the docs/os-field-configuration branch August 7, 2025 15:39
jdx pushed a commit that referenced this pull request Aug 11, 2025
### 📦 Registry

- add bob
([aqua:MordechaiHadad/bob](https://github.com/MordechaiHadad/bob)) by
[@TyceHerrman](https://github.com/TyceHerrman) in
[#5914](#5914)
- support usage on FreeBSD by [@risu729](https://github.com/risu729) in
[#5973](#5973)
- filter out installer for podman by
[@risu729](https://github.com/risu729) in
[#5974](#5974)
- use pipx aqua backend by [@itochan](https://github.com/itochan) in
[#5971](#5971)

### 📚 Documentation

- add documentation for os field in tool configuration by
[@jdx](https://github.com/jdx) in
[#5947](#5947)

### Chore

- **(ci)** accept @ in regular expressions for new registry PR titles by
[@mst-mkt](https://github.com/mst-mkt) in
[#5969](#5969)
- fix registry test filter by [@risu729](https://github.com/risu729) in
[#5942](#5942)
- fix registry test by [@risu729](https://github.com/risu729) in
[#5953](#5953)

### New Contributors

- @itochan made their first contribution in
[#5971](#5971)
- @mst-mkt made their first contribution in
[#5969](#5969)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants