Hi Mark

“Installing” in the context of a Node.js app like TiddlyWiki 5 really just 
means unpacking the ZIP of files and folders in a particular location. One then 
tells node which version to run by referencing the tiddlywiki.js file in the 
root of the repo:

node ./tiddlywiki.js --version

The code in tiddlywiki.js then reaches into the other files and folders as it 
loads TiddlyWiki.

The wrinkle in all this is the ability to install an application globally. That 
just means that the app is copied to a location managed by the system, and then 
a shortcut is created so that running “tiddlywiki” is the same as if one ran 
“node <path-to-tw>/tiddlywiki.js”.

(It’s also possible to use the “npm link” command to specify a custom 
installation of TiddlyWiki as the global one; this is documented on 
tiddlywiki.com).

So, if you want to work with multiple versions of TW5 at the same time, just 
install them in different folders and reference them via the node command as 
above.

Best wishes

Jeremy.


> On 26 Mar 2020, at 19:53, 'Mark S.' via TiddlyWiki 
> <[email protected]> wrote:
> 
> 
> The instructions say how to install versions of TW, but not how to invoke 
> them. Is there a way to do that?
> Also, is there a way to list all the versions of TW that you have currently 
> installed?
> 
> Thanks!
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/b14ffd7e-02cd-44b9-bbb6-4eefe2ff33a2%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/b14ffd7e-02cd-44b9-bbb6-4eefe2ff33a2%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0DA4A77B-DC3C-4EA2-B612-21790F104673%40gmail.com.

Reply via email to