Skip to content

Commit 449d8c3

Browse files
Document CLI install workaround for those using yarn 2+
For #23
1 parent 50aa377 commit 449d8c3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,12 @@ To use this as a CLI locally, first install
8989

9090
```sh
9191
$ git clone https://github.com/logseq/publish-spa
92+
# If you have yarn 1.X:
9293
$ cd publish-spa && yarn install
9394
$ yarn global add $PWD
95+
96+
# Otherwise use npm:
97+
$ cd publish-spa && npm i -g
9498
```
9599

96100
This CLI depends on Logseq being checked out locally in order to build the

0 commit comments

Comments
 (0)