# Deploy a Starknet node

By [Wagame.eth🦇🔊  | Wagame.lens🌿](https://paragraph.com/@wagame) · 2022-07-06

---

Connect to your VPS
-------------------

by using putty.exe - check our VPS guide:

[https://mirror.xyz/wagame.eth/KioabqnC\_UMB6D7HlQei6\_dZawvFBURQd0gYUQT7yfU](https://mirror.xyz/wagame.eth/KioabqnC_UMB6D7HlQei6_dZawvFBURQd0gYUQT7yfU)

Blind setup instructions
------------------------

Just copy the commands and paste into putty by right-clicking and then hit Enter.

Commands are completed whenever the screen shows your user/path (“root@xyz821184:~”) Then continue with the next command. Sometimes the installation prompts your interference, just hit “Y” (“Do you want to continue? Y/N”) or “1” (“Proceed with installation”). For simplicity we don’t explain the commands, but since this is in a safe environment (on a hosted VPS), nothing bad will happen even if you mess things up.

Credits: Resources from this article provided by the extensive guide from dzupp.eth: [https://mirror.xyz/dzupp.eth/8HfjYCkbid2vlayxyPtSD9\_wtb9a-wHb1uOENsAOwng](https://mirror.xyz/dzupp.eth/8HfjYCkbid2vlayxyPtSD9_wtb9a-wHb1uOENsAOwng)

### Update your machine:

    sudo apt update
    sudo apt full-upgrade
    

### Install the required tools:

    sudo apt install -y python3-pip
    

    sudo apt install -y build-essential libssl-dev libffi-dev python3-dev
    

    sudo apt-get install libgmp-dev
    

    sudo apt-get install -y pkg-config
    

### Install Rust (programming language)

    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
    

### Create environment for the node

    git clone --branch v0.2.4-alpha https://github.com/eqlabs/pathfinder.git
    

    sudo apt install python3.8-venv
    

    cd pathfinder/py
    

    python3 -m venv .venv
    

    source .venv/bin/activate
    

    PIP_REQUIRE_VIRTUALENV=true pip install --upgrade pip
    

    PIP_REQUIRE_VIRTUALENV=true pip install -r requirements-dev.txt
    

    cargo build --release --bin pathfinder
    

Set up your Infura API
----------------------

1.  Go to [infura.io](http://infura.io) and sign up (for free)
    
2.  On your dashboard click on “Create new Project” in the top right corner
    
3.  Select Ethereum and give it a Name. Make sure the Endpoint is set on Mainnet
    

![](https://storage.googleapis.com/papyrus_images/ae20986b336462ce4965d4a6d93b8c442584525c45fdeb83e0cee4d6a268facf.png)

Run your node
-------------

    cargo run --release --bin pathfinder -- --ethereum.url 
    

add the https Endpoint link from your Infura API right after the code above and hit Enter

![](https://storage.googleapis.com/papyrus_images/c758bde2b5a3769ddbef365a0d00791c4e5990aac652bc04faac47dfd97dedb6.png)

---

*Originally published on [Wagame.eth🦇🔊  | Wagame.lens🌿](https://paragraph.com/@wagame/deploy-a-starknet-node)*
