Skip to content

Commit

Permalink
fix: WSL install instructions (#3870)
Browse files Browse the repository at this point in the history
* fix wsl instrucs

* fix wsl instrucs
  • Loading branch information
jessiemongeon1 authored Dec 10, 2024
1 parent d77ef99 commit 573aa95
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docs/developer-docs/getting-started/install.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ dfx --version

#### Prerequisites

`dfx` is not natively supported on Windows. You will need to install a Linux instance via Windows Subsystem for Linux and run all commands within that Linux instance.

<input type="checkbox"/> Download and install <a href="https://docs.microsoft.com/en-us/windows/wsl/install"> Windows Subsystem for Linux</a>.
<div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,21 @@ project.

#### Prerequisites

`dfx` is not natively supported on Windows. You will need to install a Linux instance via Windows Subsystem for Linux and run all commands within that Linux instance.

<input type="checkbox"/> Download and install <a href="https://docs.microsoft.com/en-us/windows/wsl/install"> Windows Subsystem for Linux</a>.
<div>
</div>
<input type="checkbox"/> Download and <a href="https://nodejs.org/en/download/package-manager">install Node.js</a> within your WSL environment.
<input type="checkbox"/> Open a WSL terminal window.
<div>
</div>
<input type="checkbox"/> Download and install a Linux distribution (i.e., Ubuntu) using Windows Subsystem for Linux: <code>wsl --install -d ubuntu</code>
<div>
</div>
<input type="checkbox"/> Open the WSL Linux environment. Run all following commands within this environment.
<div>
</div>
<input type="checkbox"/> Download and <a href="https://learn.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-wsl">install Node.js</a> within your WSL Linux environment.

---------

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,21 @@ dfx --version

#### Prerequisites

`dfx` is not natively supported on Windows. You will need to install a Linux instance via Windows Subsystem for Linux and run all commands within that Linux instance.

<input type="checkbox"/> Download and install <a href="https://docs.microsoft.com/en-us/windows/wsl/install"> Windows Subsystem for Linux</a>.
<div>
</div>
<input type="checkbox"/> Download and <a href="https://nodejs.org/en/download/package-manager">install Node.js</a> within your WSL environment.
<input type="checkbox"/> Open a WSL terminal window.
<div>
</div>
<input type="checkbox"/> Download and install a Linux distribution (i.e., Ubuntu) using Windows Subsystem for Linux: <code>wsl --install -d ubuntu</code>
<div>
</div>
<input type="checkbox"/> Open the WSL Linux environment. Run all following commands within this environment.
<div>
</div>
<input type="checkbox"/> Download and <a href="https://learn.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-wsl">install Node.js</a> within your WSL Linux environment.

---------

Expand Down

0 comments on commit 573aa95

Please sign in to comment.