mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 12:07:19 +00:00
Clarify references to sudo
This commit is contained in:
parent
2343bb3e5b
commit
385099c4f7
@ -1,5 +1,5 @@
|
||||
created: 20131219100608529
|
||||
modified: 20140102200617777
|
||||
modified: 20140102214547249
|
||||
tags: howto
|
||||
title: Installing TiddlyWiki on Node.js
|
||||
type: text/vnd.tiddlywiki
|
||||
@ -8,7 +8,8 @@ type: text/vnd.tiddlywiki
|
||||
# Open a command line terminal and type:
|
||||
#> `npm install -g tiddlywiki`
|
||||
#> If it fails with an error you may need to re-run the command as an administrator:
|
||||
#> `sudo npm install -g tiddlywiki`
|
||||
#> `npm install -g tiddlywiki` (Windows)
|
||||
#> `sudo npm install -g tiddlywiki` (Mac/Linux)
|
||||
# Check TiddlyWiki is installed by typing:
|
||||
#> `tiddlywiki --version`
|
||||
# In response, you should see TiddlyWiki report its current version (eg `5.0.4-beta`; you may also see other debugging information reported)
|
||||
|
@ -1,11 +1,17 @@
|
||||
created: 20131219100544073
|
||||
modified: 20140101173918748
|
||||
modified: 20140102214521628
|
||||
tags: howto
|
||||
title: Upgrading TiddlyWiki on Node.js
|
||||
type: text/vnd.tiddlywiki
|
||||
|
||||
If you've installed [[TiddlyWiki on Node.js]] on the usual way, when a new version is released you can upgrade it with this command:
|
||||
|
||||
```
|
||||
npm update -g tiddlywiki
|
||||
```
|
||||
|
||||
On Mac or Linux you'll need to add ''sudo'' like this:
|
||||
|
||||
```
|
||||
sudo npm update -g tiddlywiki
|
||||
```
|
||||
|
@ -1,5 +1,5 @@
|
||||
created: 20131219100444289
|
||||
modified: 20131219163213430
|
||||
modified: 20140102214438862
|
||||
tags: dev howto
|
||||
title: Working with the TiddlyWiki5 repository
|
||||
type: text/vnd.tiddlywiki
|
||||
@ -11,7 +11,7 @@ If you plan on working with the TiddlyWiki5 source code then follow these steps:
|
||||
# Fork the TiddlyWiki5 GitHub repository from https://github.com/Jermolene/TiddlyWiki5
|
||||
# Clone a local copy of your fork
|
||||
# Open a command line terminal and change the current working directory to the root of the repo
|
||||
# Type `sudo npm link` to tell [[npm]] to use this copy of the repo as the globally installed one
|
||||
# Type `npm link` (Windows) or `sudo npm link` (Mac/Linux) to tell [[npm]] to use this copy of the repo as the globally installed one
|
||||
|
||||
After this procedure you can work with TiddlyWiki5 via [[npm]] as though it were installed in the usual way with `npm -g install tiddlywiki`.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user