Skip to content

Commit 2ef0f19

Browse files
authored
Merge pull request #159 from cbusillo/cleanup/remove-npm-wsl-hints
Remove stale npm WSL hints
2 parents d4db972 + 686588a commit 2ef0f19

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

codex-cli/bin/coder.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ if (existsSync(binaryPath)) {
333333
console.error(` npm install -g @just-every/code`);
334334
if (isWSL()) {
335335
console.error("Detected WSL. Install inside WSL (Ubuntu) separately:");
336-
console.error(" npx -y @just-every/code@latest (run inside WSL)");
336+
console.error(" Install and run Code from inside WSL, not from Windows.");
337337
console.error("If installed globally on Windows, those binaries are not usable from WSL.");
338338
}
339339
process.exit(1);
@@ -355,7 +355,7 @@ if (!validation.ok) {
355355
}
356356
if (isWSL()) {
357357
console.error("Detected WSL. Ensure you install/run inside WSL, not Windows:");
358-
console.error(" npx -y @just-every/code@latest (inside WSL)");
358+
console.error(" Use the supported Linux install path from inside WSL.");
359359
}
360360
process.exit(1);
361361
}
@@ -419,7 +419,7 @@ child.on("error", (err) => {
419419
}
420420
if (isWSL()) {
421421
console.error("Detected WSL. Windows binaries cannot be executed from WSL.");
422-
console.error("Install inside WSL and run there: npx -y @just-every/code@latest");
422+
console.error("Install and run Code from inside WSL using the Linux install path.");
423423
}
424424
} else {
425425
console.error(err);

0 commit comments

Comments
 (0)