Update cheatsheets

This commit is contained in:
ivuorinen
2024-03-04 00:13:37 +00:00
parent d5be0a5308
commit 4fc14b09a3
10 changed files with 195 additions and 45 deletions

37
tldr/mise Normal file
View File

@@ -0,0 +1,37 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# mise
> Manage versions of different packages.
> More information: <https://mise.jdx.dev>.
- List all available plugins:
`mise plugins list-all`
- Install a plugin:
`mise plugins add {{name}}`
- List runtime versions available for install:
`mise ls-remote {{name}}`
- Install a specific version of a package:
`mise install {{name}}@{{version}}`
- Set global version for a package:
`mise use --global {{name}}@{{version}}`
- Set local version for a package:
`mise use {{name}}@{{version}}`
- Set environment variable in configuration:
`mise set {{variable}}={{value}}`