You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dev-tools/index.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -284,28 +284,28 @@ For some users, `mise use` might be the only command you need to learn. It will
284
284
285
285
```shell
286
286
>cd my-project
287
-
> mise use node@24
287
+
> mise use node@26
288
288
# download node, verify signature...
289
-
mise node@24.x.x ✓ installed
290
-
mise ~/my-project/mise.toml tools: node@24.x.x # mise.toml created/updated
289
+
mise node@26.x.x ✓ installed
290
+
mise ~/my-project/mise.toml tools: node@26.x.x # mise.toml created/updated
291
291
292
292
> which node
293
-
~/.local/share/installs/node/24.x.x/bin/node
293
+
~/.local/share/mise/installs/node/26/bin/node
294
294
```
295
295
296
-
`mise use node@24` will install the latest version of node-24 and create/update the
296
+
`mise use node@26` will install the latest version of node-26 and create/update the
297
297
`mise.toml`
298
298
config file in the local directory. The resulting file looks like this:
299
299
300
300
```toml [mise.toml]
301
301
[tools]
302
-
node = "24"
302
+
node = "26"
303
303
```
304
304
305
305
Anytime you're in that directory, that version of `node` will be used.
306
306
307
-
`mise use -g node@24` will do the same but update the [global config](/configuration.html#global-config-config-mise-config-toml) (`~/.config/mise/config.toml`) so
308
-
unless there is a config file in the local directory hierarchy, node-24 will be the default version
307
+
`mise use -g node@26` will do the same but update the [global config](/configuration.html#global-config-config-mise-config-toml) (`~/.config/mise/config.toml`) so
308
+
unless there is a config file in the local directory hierarchy, node-26 will be the default version
In this example, the python `bin` directory was added at the beginning of the `PATH`, making it available in the current shell session.
35
+
When a fuzzy version like `python = "3.15"` or `node = "26"` is active, this path may use the requested-version symlink, such as `~/.local/share/mise/installs/python/3.15/bin`, instead of the fully resolved patch version.
35
36
36
37
While the `PATH` design of `mise` works great in most cases, there are some situations where `shims` are preferable. This is the case when you are not using an interactive shell (for example, when using `mise` in an IDE or a script).
0 commit comments