Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

solana get version

#Though not strictly necessary, the CLI will generally work best when its version matches the software version running on the cluster.
#To get the locally-installed CLI version, run:
solana --version

#To get the cluster version, run:
solana cluster-version

#Ensure the local CLI version is greater than or equal to the cluster 
version.
Source by docs.solana.com #
 
PREVIOUS NEXT
Tagged: #solana #version
ADD COMMENT
Topic
Name
3+4 =