TiddlyWiki is "a unique non-linear notebook for capturing, organising and sharing complex information." The "notebook" consists of what are called tiddlers. These tiddlers use WikiText, which is "designed to be familiar for users of MarkDown, but with more of a focus on linking and the interactive features."
Install Node.js with
apt-get install nodejsor an installer from the website.
Install TiddlyWiki with
npm install -g tiddlywiki
tiddlywiki --versionto verify that TiddlyWiki was installed. Expect the output of this command to be a version number. Released on April 15, 2020, the current version is 5.1.22.
Change directories (i.e.,
cd) to the one in which you want to store your wiki. Run
tiddlywiki myfirstwiki --init server
This command will create a new folder -- named "myfirstwiki" -- containing the components required to run a local server.
In the same directory, run
tiddlywiki myfirstwiki --listento start the TiddlyWiki server.
Open a browser and navigate to http://127.0.0.1:8080/ or http://localhost:8080/ to start editing the wiki.
Back in the terminal, press
control+Cto close the local server.
Change directories to your wiki's folder (e.g.,
cd myfirstwiki). Run
tiddlywiki --build indexand open the new "output" folder to find an
index.htmlfor a single-page website!
Install updates to TiddlyWiki with
npm update tiddlywiki