Skip to content

Commit 5373da4

Browse files
authored
docs: fix PM2 start command syntax (#2713)
1 parent 865396f commit 5373da4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/getting-started/buildfromsource.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ npm install -g pm2
157157
```
158158
2. Start seerr with PM2:
159159
```bash
160-
pm2 start dist/index.js --name seerr --node-args="--NODE_ENV=production"
160+
NODE_ENV=production pm2 start dist/index.js --name seerr
161161
```
162162
3. Save the process list:
163163
```bash
@@ -206,7 +206,7 @@ git checkout main
206206
3. Install the dependencies:
207207
```powershell
208208
npm install -g win-node-env
209-
set CYPRESS_INSTALL_BINARY=0 && pnpm install --frozen-lockfile
209+
$env:CYPRESS_INSTALL_BINARY = 0; pnpm install --frozen-lockfile
210210
```
211211
4. Build the project:
212212
```powershell
@@ -275,7 +275,7 @@ npm install -g pm2
275275
```
276276
2. Start seerr with PM2:
277277
```powershell
278-
pm2 start dist/index.js --name seerr --node-args="--NODE_ENV=production"
278+
$env:NODE_ENV = "production"; pm2 start dist/index.js --name seerr
279279
```
280280
3. Save the process list:
281281
```powershell

0 commit comments

Comments
 (0)