@jdxcode/mise-darwin-arm64 2024.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +59 -0
- package/bin/mise +0 -0
- package/package.json +19 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023 Jeff Dickey
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
<!-- <a href="https://mise.jdx.dev"><picture> -->
|
|
3
|
+
<!-- <source media="(prefers-color-scheme: dark)" width="617" srcset="./docs/logo-dark@2x.png"> -->
|
|
4
|
+
<!-- <img alt="mise logo" width="617" src="./docs/logo-light@2x.png"> -->
|
|
5
|
+
<!-- </picture></a> -->
|
|
6
|
+
<br/>
|
|
7
|
+
<a href="https://crates.io/crates/mise-cli"><img alt="Crates.io" src="https://img.shields.io/crates/v/mise-cli?style=for-the-badge"></a>
|
|
8
|
+
<a href="https://github.com/jdx/mise/blob/main/LICENSE"><img alt="GitHub" src="https://img.shields.io/github/license/jdx/mise?color=%2320A920&style=for-the-badge"></a>
|
|
9
|
+
<a href="https://github.com/jdx/mise/actions/workflows/test.yml"><img alt="GitHub Workflow Status" src="https://img.shields.io/github/actions/workflow/status/jdx/mise/test.yml?color=%2320A920&style=for-the-badge"></a>
|
|
10
|
+
<!-- <a href="https://codecov.io/gh/jdx/mise"><img alt="Codecov" src="https://img.shields.io/codecov/c/github/jdx/mise?color=%2320A920&style=for-the-badge"></a> -->
|
|
11
|
+
<a href="https://discord.gg/mABnUDvP57"><img alt="Discord" src="https://img.shields.io/discord/1066429325269794907?color=%23738ADB&style=for-the-badge"></a>
|
|
12
|
+
<p><em>The front-end to your dev env. (formerly called "rtx")</em></p>
|
|
13
|
+
</div>
|
|
14
|
+
|
|
15
|
+
## What is it?
|
|
16
|
+
|
|
17
|
+
* Like [asdf](https://asdf-vm.com) (or [nvm](https://github.com/nvm-sh/nvm) or [pyenv](https://github.com/pyenv/pyenv) but for any language) it manages dev tools like node, python, cmake, terraform, and [hundreds more](https://mise.jdx.dev/plugins.html).
|
|
18
|
+
* Like [direnv](https://github.com/direnv/direnv) it manages [environment variables](https://mise.jdx.dev/environments.html) for different project directories.
|
|
19
|
+
* Like [make](https://www.gnu.org/software/make/manual/make.html) it manages [tasks](https://mise.jdx.dev/tasks/) used to build and test projects.
|
|
20
|
+
|
|
21
|
+
## 30 Second Demo
|
|
22
|
+
|
|
23
|
+
The following shows using mise to install different versions
|
|
24
|
+
of [node](https://nodejs.org).
|
|
25
|
+
Note that calling `which node` gives us a real path to node, not a shim.
|
|
26
|
+
|
|
27
|
+
[](./docs/demo.gif)
|
|
28
|
+
|
|
29
|
+
## Quickstart
|
|
30
|
+
|
|
31
|
+
Install mise on macOS (other methods [here](https://mise.jdx.dev/getting-started.html)):
|
|
32
|
+
|
|
33
|
+
```sh-session
|
|
34
|
+
$ curl https://mise.jdx.dev/install.sh | sh
|
|
35
|
+
$ ~/.local/share/mise/bin/mise --version
|
|
36
|
+
mise 2024.1.0
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Hook mise into your shell (pick the right one for your shell):
|
|
40
|
+
|
|
41
|
+
```sh-session
|
|
42
|
+
# note this assumes mise is located at ~/.local/share/mise/bin/mise
|
|
43
|
+
# which is what install.sh does by default
|
|
44
|
+
echo 'eval "$(~/.local/share/mise/bin/mise activate bash)"' >> ~/.bashrc
|
|
45
|
+
echo 'eval "$(~/.local/share/mise/bin/mise activate zsh)"' >> ~/.zshrc
|
|
46
|
+
echo '~/.local/share/mise/bin/mise activate fish | source' >> ~/.config/fish/config.fish
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Install a runtime and set it as the global default:
|
|
50
|
+
|
|
51
|
+
```sh-session
|
|
52
|
+
$ mise use --global node@20
|
|
53
|
+
$ node -v
|
|
54
|
+
v20.0.0
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Full Documentation
|
|
58
|
+
|
|
59
|
+
See [mise.jdx.dev](https://mise.jdx.dev).
|
package/bin/mise
ADDED
|
Binary file
|
package/package.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@jdxcode/mise-darwin-arm64",
|
|
3
|
+
"version": "v2024.1.0",
|
|
4
|
+
"description": "polyglot runtime manager",
|
|
5
|
+
"bin": {
|
|
6
|
+
"mise": "bin/mise"
|
|
7
|
+
},
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/jdx/mise"
|
|
11
|
+
},
|
|
12
|
+
"files": [
|
|
13
|
+
"bin",
|
|
14
|
+
"README.md"
|
|
15
|
+
],
|
|
16
|
+
"license": "MIT",
|
|
17
|
+
"os": "darwin",
|
|
18
|
+
"cpu": "arm64"
|
|
19
|
+
}
|