DataHub Docs
DataHubLearnCommunity
  • 👋Welcome to Figment Docs
  • 🚩Introduction
    • 🚀Why Build on Web 3?
    • 💻What is DataHub?
  • 📖DataHub Guides
    • 📍DataHub Products
      • Transaction Search API
      • Staking API
    • 🏭DataHub Infrastructure
    • 🏁Get Started With DataHub
    • 🚨Quotas & Rate Limits
    • 💡Dashboard how-tos
      • Configuring CORS whitelist
  • 📚Network Documentation
    • 🔭Network Guide
    • 🅰️Arbitrum
      • 🎮RPC & REST API
    • 🏔️Avalanche
      • 🎮RPC & REST API
        • Avalanche Indexer API
    • 💠Binance Smart Chain
      • 🎮RPC & REST API
    • 💰Celo
      • 💼CELO Wallet
      • 🎮RPC & REST API
    • ➰Centrifuge
      • 🎮RPC & REST API
    • 🌌Cosmos
      • 🎮RPC & REST API
      • 🎊Enriched APIs
        • Transaction Search
        • Rewards API
    • 💎Ethereum
      • 🎮RPC & REST API
    • 🧊Fantom
      • 🎮RPC & REST API
    • 🐦Kusama
      • 🎮RPC & REST API
    • 📱Mina
      • 🎮RPC & REST API
        • Indexer API Documentation
        • Query Mina GraphQL API
    • 🌈NEAR
      • 🎮RPC & REST API
      • 🎊Enriched APIs
        • Indexer API
      • 💼NEAR Wallet
    • 🏝️Oasis
      • 🎮RPC & REST API
        • Oasis REST API
    • 🧪Osmosis
      • 🎮RPC & REST API
    • 🍡Polkadot
      • 🎮RPC & REST API
      • 🎊Enriched APIs
        • Indexer API
        • Transaction Search
    • ⛽Polygon (Matic)
      • 🎮RPC & REST API
    • 🔋Solana
      • 🎮RPC & REST API
    • 📚Extra Guides
      • Blockchain Fundamentals
      • Docker Setup for Windows
      • Troubleshooting CORS Errors on DataHub
      • 5XX Retry Logic Best Practices
        • 5XX Retry Logic Best Practices - NodeJS
        • 5XX Retry Logic Best Practices - Python
        • 5XX Retry Logic Best Practices - Ruby
        • 5XX Retry Logic Best Practices - Go
      • Setting up a fresh JavaScript Project with dotenv
      • Getting started with dotenv and .env files
      • Rust Learning Resources
      • Setup Solana BPF Toolchain on Windows
      • Figment Learn Pathway Troubleshooting
  • 🤔Other
    • 🧾Glossary
    • 🗳️Support
  • 🔗Terms & Conditions
    • Terms of Use
    • Terms & Conditions DataHub
    • Privacy Policy
    • Contributor Terms
Powered by GitBook
On this page
  • Install Docker Desktop
  • Install WSL on Windows
  • Setup the Solana ecosystem

Was this helpful?

  1. Network Documentation
  2. Extra Guides

Setup Solana BPF Toolchain on Windows

How to setup for the Solana Pathway on Windows

PreviousRust Learning ResourcesNextFigment Learn Pathway Troubleshooting

Last updated 3 years ago

Was this helpful?

The Rust BPF toolchain is not available for Windows. This means that compiling Solana programs cannot be performed in a Windows development environment. The following software is required to set up and complete the Solana Pathway on a computer running the Microsoft Windows operating system:

Install Docker Desktop

Install WSL on Windows

Windows 10 Home machines must meet the following requirements to install Docker Desktop:

  • Install Windows 10, version 1903 or higher.

  • The following hardware prerequisites are required to successfully run WSL2 on Windows 10 Home:

    • 64 bit processor with

    • 4GB system RAM

    • BIOS-level hardware virtualization support must be enabled in the BIOS settings. For more information, refer to the troubleshooting topic.

  • Enable the WSL2 feature on Windows. For detailed instructions, refer to the .

  • Download and install the .

Setup the Solana ecosystem

  • It is also important to make sure your PATH in the WSL environment includes the location of the Solana release you have installed, such as :PATH="~/.local/share/solana/install/active_release/bin:$PATH"

Happy building! 😁

To access the filesystem of your for WSL :

Run the command from a cmd.exe or PowerShell terminal. Once you have logged in, install the with the command: sh -c "$(curl -sSfL https://release.solana.com/v1.7.11/install)"

More information on viewing and setting the PATH in Linux is .

Once WSL is installed and you can access it through the Windows command prompt, you can continue to follow the in the Solana Pathway. This will enable you to compile Solana programs on a computer running Microsoft Windows, within the WSL environment.

📚
📚
Docker Desktop
Windows Subsystem for Linux (WSL)
Docker Setup for Windows
Second Level Address Translation (SLAT)
Virtualization
Microsoft documentation
Linux kernel update package
installed Linux distribution
wsl
Solana CLI
available here
setup instructions for the Rust toolchain