Skip to content

Commit 72a0b72

Browse files
lillekemikerhipsterusername
authored andcommitted
Updating installation instructions to include Node.JS
1 parent 32994a2 commit 72a0b72

1 file changed

Lines changed: 14 additions & 5 deletions

File tree

README.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,10 @@ and go to http://localhost:9090.
132132

133133
### Command-Line Installation (for developers and users familiar with Terminals)
134134

135-
You must have Python 3.9 or 3.10 installed on your machine. Earlier or later versions are
136-
not supported.
135+
You must have Python 3.9 or 3.10 installed on your machine. Earlier or
136+
later versions are not supported.
137+
Node.js also needs to be installed along with yarn (can be installed with
138+
the command `npm install -g yarn` if needed)
137139

138140
1. Open a command-line window on your machine. The PowerShell is recommended for Windows.
139141
2. Create a directory to install InvokeAI into. You'll need at least 15 GB of free space:
@@ -197,11 +199,18 @@ not supported.
197199
7. Launch the web server (do it every time you run InvokeAI):
198200
199201
```terminal
200-
invokeai --web
202+
invokeai-web
201203
```
202204
203-
8. Point your browser to http://localhost:9090 to bring up the web interface.
204-
9. Type `banana sushi` in the box on the top left and click `Invoke`.
205+
8. Build Node.js assets
206+
207+
```terminal
208+
cd invokeai/frontend/web/
209+
yarn vite build
210+
```
211+
212+
9. Point your browser to http://localhost:9090 to bring up the web interface.
213+
10. Type `banana sushi` in the box on the top left and click `Invoke`.
205214

206215
Be sure to activate the virtual environment each time before re-launching InvokeAI,
207216
using `source .venv/bin/activate` or `.venv\Scripts\activate`.

0 commit comments

Comments
 (0)