12th July 2026 at 4:27pm
- Install Node.js
- Linux: Debian/Ubuntu:
apt install nodejs
May need to be followed up by:apt install npmArch Linuxyay -S tiddlywiki
(installs node and tiddlywiki) - Mac
brew install node - Android
- Other
- Linux:
- Open a command line terminal and type:
npm install -g tiddlywikiIf it fails with an error you may need to re-run the command as an administrator:sudo npm install -g tiddlywiki(Mac/Linux) - Ensure TiddlyWiki is installed by typing:
tiddlywiki --version- In response, you should see TiddlyWiki report its current version (eg "5.4.1". You may also see other debugging information reported.)
- Try it out:
tiddlywiki mynewwiki --init serverto create a folder for a new wiki that includes server-related componentstiddlywiki mynewwiki --listento start TiddlyWiki- Visit http://127.0.0.1:8080/ in your browser
- Try editing and creating tiddlers
- Optionally, make an offline copy:
- click the save changes button in the sidebar, OR
tiddlywiki mynewwiki --build index
The -g flag causes TiddlyWiki to be installed globally. Without it, TiddlyWiki will only be available in the directory where you installed it.
Installing multiple Node.js verions alongside
There are multiple options:
Local install
mkdir -p /home/user/opt/tiddlywiki-5.1.13 && cd "$_" # works in Bash
npm install tiddlywiki@5.1.13This installs the given version in the current directory, at the expense of taking some extra disk space. The binary is in node_modules/.bin/tiddlywiki (relative to the current directory). For convenience, it is possible to create a symlink (in Linux) containing explicit version number in the name, like this:
ln -s /home/user/opt/tiddlywiki-5.1.13/node_modules/.bin/tiddlywiki /home/user/bin/tiddlywiki-5.1.13Having ~/bin in PATH environment variable (usually at the beginning of it), makes it possible to start this version of TiddlyWiki as simple as tiddlywiki-5.1.13.
Use npx
To run another version without overwriting the currently installed version, use npx:
npx tiddlywiki@5.3.8 --versionRun directly from the source code repository
- clone https://github.com/TiddlyWiki/TiddlyWiki5/ locally
- checkout any version (using
git checkoutorgit switchfor modern versions of Git) - set up a link or a shell script for it