ZK-Proofs: Windows 10 & 11 WSL Setup
Last Updated by Code Sport. Filed under ethereum, windowsThe below steps were successfully tested on a new laptop running Windows…
The below steps were successfully tested on a new laptop running Windows 11. They should also work for Windows 10. We will be installing Windows Subsystem for Linux (WSL). I personally,
wsl --install
sudo apt install build-essential
nvm install --lts
. Microsoft has a walkthrough here: Install nvm, node.js, and npm curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh # install rust source $HOME/.cargo/env # allow rust to be recognized in current shell git clone https://github.com/iden3/circom.git # clone circom cd circom && cargo build --release # use the cargo build to compile cargo install --path circom # install the circom binary npm install -g snarkjs # install snarkjs to generate and validate circom's ZK proofs
[Remote WSL] extension enables you to run WSL, SSH, or a remote container for editing and debugging with the full set of Visual Studio Code features. Quickly swap between different, separate development environments and make updates without worrying about impacting your local machine.
— Get started using VS Code with WSL
code .