diff --git a/dev-tools/backends/cargo.md b/dev-tools/backends/cargo.md index 4ca5253..f06461c 100644 --- a/dev-tools/backends/cargo.md +++ b/dev-tools/backends/cargo.md @@ -37,7 +37,7 @@ The version will be set in `~/.config/mise/config.toml` with the following forma ```toml [tools] -prettier = "latest" +"cargo:eza" = "latest" ``` ## Configuration diff --git a/dev-tools/backends/go.md b/dev-tools/backends/go.md new file mode 100644 index 0000000..e6338d5 --- /dev/null +++ b/dev-tools/backends/go.md @@ -0,0 +1,30 @@ +# Go Backend + +You may install packages directly via [go install](https://go.dev/doc/install) even if there +isn't an asdf plugin for it. + +The code for this is inside of the mise repository at [`./src/forge/go.rs`](https://github.com/jdx/mise/blob/main/src/forge/go.rs). + +## Dependencies + +This relies on having `go` installed. Which you can install via mise: + +```sh +mise use -g go +``` + +::: tip +Any method of installing `go` is fine if you want to install go some other way. +mise will use whatever `go` is on PATH. +::: + +## Usage + +The following installs the latest version of [hivemind](https://github.com/DarthSim/hivemind) and +sets it as the active version on PATH: + +```sh +$ mise use -g go:github.com/DarthSim/hivemind +$ hivemind --help +Hivemind version 1.1.0 +``` diff --git a/dev-tools/backends/npm.md b/dev-tools/backends/npm.md index cf985e9..acded46 100644 --- a/dev-tools/backends/npm.md +++ b/dev-tools/backends/npm.md @@ -29,5 +29,5 @@ The version will be set in `~/.config/mise/config.toml` with the following forma ```toml [tools] -prettier = "latest" +"npm:prettier" = "latest" ```