Node: Difference between revisions

From Fundamental Ramen
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Frequently Used Commands =
= Frequently Used Commands =
== nvm: nodejs version management ==


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
# TODO
nvm list
nvm list
nvm list available
nvm install lts
nvm use 24.18.0
node -v
</syntaxhighlight>
== mermaid: install and test ==
<syntaxhighlight lang="bash">
npm install -g @mermaid-js/mermaid-cli
mmdc -V
mmdc -i test.mmd
mmdc -i test.mmd -o test.svg
mmdc -i test.mmd -o test.png
mmdc -i test.mmd -o test.pdf
mmdc -i test.mmd -o -
</syntaxhighlight>
</syntaxhighlight>



Latest revision as of 03:16, 2 July 2026

Frequently Used Commands

nvm: nodejs version management

nvm list
nvm list available
nvm install lts
nvm use 24.18.0
node -v

mermaid: install and test

npm install -g @mermaid-js/mermaid-cli
mmdc -V
mmdc -i test.mmd
mmdc -i test.mmd -o test.svg
mmdc -i test.mmd -o test.png
mmdc -i test.mmd -o test.pdf
mmdc -i test.mmd -o -

Resources