docs(installation): add mise installation alternative method

Signed-off-by: jylenhof <jygithub@lenhof.eu.org>
This commit is contained in:
jylenhof
2025-11-11 08:49:12 +01:00
committed by Herrington Darkholme
parent 02c4b65af6
commit 1fdb5f6cf5
+4 -1
View File
@@ -31,7 +31,7 @@ Try the [online playground](https://ast-grep.github.io/playground.html) for a ta
See more screenshots on the [website](https://ast-grep.github.io/).
## Installation
You can install it from [npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm), [pip](https://pypi.org/), [cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html), [cargo-binstall](https://github.com/cargo-bins/cargo-binstall), [homebrew](https://brew.sh/), [scoop](https://scoop.sh/) or [MacPorts](https://www.macports.org)!
You can install it from [npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm), [pip](https://pypi.org/), [cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html), [cargo-binstall](https://github.com/cargo-bins/cargo-binstall), [homebrew](https://brew.sh/), [scoop](https://scoop.sh/), [mise](https://github.com/jdx/mise) or [MacPorts](https://www.macports.org)!
```bash
npm install --global @ast-grep/cli
@@ -55,6 +55,9 @@ sudo port install ast-grep
# try ast-grep in nix-shell
nix-shell -p ast-grep
# try ast-grep with mise
mise use -g ast-grep
```
</details>