Skip to content

Commit

Permalink
chore(node): Install and manage Node.js with mise
Browse files Browse the repository at this point in the history
What I did:

```bash
$ mise --version
2024.10.7 linux-x64 (7d15bd5 2024-10-14)

$ mise ls-remote node | tail -n 5
22.7.0
22.8.0
22.9.0
22.10.0
23.0.0

$ mise use node@22
mise ~/repos/github.com/rnazmo/vite-react-ts-tailwind-template/.mise.toml tools: [email protected]

$ node --version
v22.9.0
````

NOTE:
    Use 22 not 23 because 23 is still new and will cause trouble.

Ref:
    https://mise.jdx.dev/demo.html
    https://mise.jdx.dev/lang/node.html
    https://mise.jdx.dev/cli/ls-remote.html
    https://mise.jdx.dev/cli/use.html
    npm/cli#7857
  • Loading branch information
rnazmo committed Oct 21, 2024
1 parent 510ee75 commit 1ab8315
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .mise.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[tools]
node = "22"

0 comments on commit 1ab8315

Please sign in to comment.