mirror of
https://github.com/ast-grep/ast-grep.git
synced 2026-05-06 14:17:22 -04:00
docs(installation): add mise installation alternative method
Signed-off-by: jylenhof <jygithub@lenhof.eu.org>
This commit is contained in:
committed by
Herrington Darkholme
parent
02c4b65af6
commit
1fdb5f6cf5
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user