Pre-Requisites for Solana

Ensure that Solana and Anchor are installed on your system to execute Solana smart contracts.

You can execute the following commands in your terminal to check if Solana CLI and Anchor are installed on your system.

For Solana CLI:

solana --version

If Solana is installed, this command will output the version of Solana installed on your system. If Solana is not installed, you will likely see an error message.

For Anchor:

anchor --version

If Anchor is installed, this command will output the version of Anchor installed on your system. If Anchor is not installed, you will likely see an error message.

If Solana CLI and Anchor are not installed on your system, goto Solana and Anchor.

Last updated