- ID scansione:
- d25dd696-c11f-4d3b-a213-64c6a9fde7a9Fatto
- URL inviato:
- https://docs.solanalabs.com/cli/install
- Report terminato:
Link · 18 trovati
I link in uscita identificati dalla pagina
Link | Testo |
---|---|
https://spl.solana.com | Solana Program Library » |
https://solana.com/discord | Solana Discord |
https://github.com/solana-labs/solana | GitHub » |
https://github.com/solana-labs/solana/releases/tag/v1.18.18 | v1.18.18 |
https://github.com/solana-labs/solana/releases/latest | https://github.com/solana-labs/solana/releases/latest |
https://www.rust-lang.org/tools/install | https://www.rust-lang.org/tools/install |
https://brew.sh/ | https://brew.sh/ |
https://visualstudio.microsoft.com/downloads/ | Visual Studio downloads page |
https://releases.llvm.org/download.html | official LLVM download page |
https://github.com/protocolbuffers/protobuf/releases | GitHub releases page of Protocol Buffers |
Variabili JavaScript · 5 trovate
Le variabili JavaScript globali caricate sull'oggetto finestra di una pagina sono variabili dichiarate all'esterno delle funzioni e accessibili da qualsiasi punto del codice nell'ambito corrente
Nome | Tipo |
---|---|
onbeforetoggle | object |
documentPictureInPicture | object |
onscrollend | object |
webpackChunksolana_docs | object |
docusaurus | object |
Messaggi di log della console · 0 trovati
Messaggi registrati nella console Web
HTML
Il corpo HTML non elaborato della pagina
<!DOCTYPE html><html lang="en" dir="ltr" class="docs-wrapper docs-doc-page docs-version-current plugin-docs plugin-id-default docs-doc-id-cli/install" data-theme="light" data-rh="lang,dir,class"><head>
<meta charset="UTF-8">
<meta name="generator" content="Docusaurus v2.2.0">
<title>Install the Solana CLI | Solana Validator</title><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:url" content="https://docs.solanalabs.com/cli/install"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docusaurus_version" content="current"><meta data-rh="true" name="docusaurus_tag" content="docs-default-current"><meta data-rh="true" name="docsearch:version" content="current"><meta data-rh="true" name="docsearch:docusaurus_tag" content="docs-default-current"><meta data-rh="true" property="og:title" content="Install the Solana CLI | Solana Validator"><meta data-rh="true" name="description" content="There are multiple ways to install the Solana tools on your computer depending"><meta data-rh="true" property="og:description" content="There are multiple ways to install the Solana tools on your computer depending"><link data-rh="true" rel="icon" href="/img/favicon.ico"><link data-rh="true" rel="canonical" href="https://docs.solanalabs.com/cli/install"><link data-rh="true" rel="alternate" href="https://docs.solanalabs.com/cli/install" hreflang="en"><link data-rh="true" rel="alternate" href="https://docs.solanalabs.com/de/cli/install" hreflang="de"><link data-rh="true" rel="alternate" href="https://docs.solanalabs.com/es/cli/install" hreflang="es"><link data-rh="true" rel="alternate" href="https://docs.solanalabs.com/ru/cli/install" hreflang="ru"><link data-rh="true" rel="alternate" href="https://docs.solanalabs.com/ar/cli/install" hreflang="ar"><link data-rh="true" rel="alternate" href="https://docs.solanalabs.com/cli/install" hreflang="x-default"><link data-rh="true" rel="preconnect" href="https://FQ12ISJR4B-dsn.algolia.net" crossorigin="anonymous"><link rel="search" type="application/opensearchdescription+xml" title="Solana Validator" href="/opensearch.xml">
<link rel="stylesheet" href="/katex/katex.min.css" integrity="sha384-AfEj0r4/OFrOo5t7NnNe46zW/tFgW6x/bCJG8FqQCEo3+Aro6EYUG4+cU+KJWu/X" crossorigin="anonymous"><link rel="stylesheet" href="/assets/css/styles.a178793d.css">
<link rel="preload" href="/assets/js/runtime~main.f81cd6d0.js" as="script">
<link rel="preload" href="/assets/js/main.dc14f7cc.js" as="script">
<meta name="viewport" content="width=device-width, initial-scale=1.0" data-rh="true"><link rel="prefetch" href="/assets/js/1be78505.d89d2de9.js"><link rel="prefetch" href="/assets/js/756e2adf.432ac292.js"><link rel="prefetch" href="/assets/js/935f2afb.f948a62e.js"><link rel="prefetch" href="/assets/js/17896441.9518be0c.js"><link rel="prefetch" href="/assets/js/4e6ff2c2.b87cd9d4.js"><link rel="prefetch" href="/assets/js/1be78505.d89d2de9.js"><link rel="prefetch" href="/assets/js/756e2adf.432ac292.js"><link rel="prefetch" href="/assets/js/935f2afb.f948a62e.js"><link rel="prefetch" href="/assets/js/17896441.9518be0c.js"><link rel="prefetch" href="/assets/js/4e6ff2c2.b87cd9d4.js"><link rel="prefetch" href="/assets/js/1be78505.d89d2de9.js"><link rel="prefetch" href="/assets/js/756e2adf.432ac292.js"><link rel="prefetch" href="/assets/js/935f2afb.f948a62e.js"><link rel="prefetch" href="/assets/js/17896441.9518be0c.js"><link rel="prefetch" href="/assets/js/4e6ff2c2.b87cd9d4.js"><link rel="prefetch" href="/assets/js/17896441.9518be0c.js"><link rel="prefetch" href="/assets/js/cfd87b31.a3246017.js"><link rel="prefetch" href="/assets/js/1be78505.d89d2de9.js"><link rel="prefetch" href="/assets/js/756e2adf.432ac292.js"><link rel="prefetch" href="/assets/js/935f2afb.f948a62e.js"><link rel="prefetch" href="/assets/js/17896441.9518be0c.js"><link rel="prefetch" href="/assets/js/4e6ff2c2.b87cd9d4.js"><link rel="prefetch" href="/assets/js/17896441.9518be0c.js"><link rel="prefetch" href="/assets/js/5abdfe51.54b95560.js"><link rel="prefetch" href="/assets/js/1be78505.d89d2de9.js"><link rel="prefetch" href="/assets/js/756e2adf.432ac292.js"><link rel="prefetch" href="/assets/js/935f2afb.f948a62e.js"><link rel="prefetch" href="/assets/js/17896441.9518be0c.js"><link rel="prefetch" href="/assets/js/4e6ff2c2.b87cd9d4.js"><link rel="prefetch" href="/assets/js/17896441.9518be0c.js"><link rel="prefetch" href="/assets/js/f00fe585.e9771f3e.js"><link rel="prefetch" href="/assets/js/1be78505.d89d2de9.js"><link rel="prefetch" href="/assets/js/756e2adf.432ac292.js"><link rel="prefetch" href="/assets/js/935f2afb.f948a62e.js"><link rel="prefetch" href="/assets/js/17896441.9518be0c.js"><link rel="prefetch" href="/assets/js/4e6ff2c2.b87cd9d4.js"><link rel="prefetch" href="/assets/js/17896441.9518be0c.js"><link rel="prefetch" href="/assets/js/a9f1e2e7.315b74b3.js"><link rel="prefetch" href="/assets/js/1be78505.d89d2de9.js"><link rel="prefetch" href="/assets/js/756e2adf.432ac292.js"><link rel="prefetch" href="/assets/js/935f2afb.f948a62e.js"><link rel="prefetch" href="/assets/js/17896441.9518be0c.js"><link rel="prefetch" href="/assets/js/4e6ff2c2.b87cd9d4.js"><link rel="prefetch" href="/assets/js/17896441.9518be0c.js"><link rel="prefetch" href="/assets/js/aabd1d34.f791d5b7.js"><link rel="prefetch" href="/assets/js/1be78505.d89d2de9.js"><link rel="prefetch" href="/assets/js/756e2adf.432ac292.js"><link rel="prefetch" href="/assets/js/935f2afb.f948a62e.js"><link rel="prefetch" href="/assets/js/17896441.9518be0c.js"><link rel="prefetch" href="/assets/js/4e6ff2c2.b87cd9d4.js"><link rel="prefetch" href="/assets/js/17896441.9518be0c.js"><link rel="prefetch" href="/assets/js/2ff946e8.760bdd7b.js"><link rel="prefetch" href="/assets/js/1be78505.d89d2de9.js"><link rel="prefetch" href="/assets/js/756e2adf.432ac292.js"><link rel="prefetch" href="/assets/js/935f2afb.f948a62e.js"><link rel="prefetch" href="/assets/js/17896441.9518be0c.js"><link rel="prefetch" href="/assets/js/4e6ff2c2.b87cd9d4.js"><link rel="prefetch" href="/assets/js/17896441.9518be0c.js"><link rel="prefetch" href="/assets/js/87a5ca45.e86cc284.js"><link rel="prefetch" href="/assets/js/1be78505.d89d2de9.js"><link rel="prefetch" href="/assets/js/756e2adf.432ac292.js"><link rel="prefetch" href="/assets/js/935f2afb.f948a62e.js"><link rel="prefetch" href="/assets/js/17896441.9518be0c.js"><link rel="prefetch" href="/assets/js/4e6ff2c2.b87cd9d4.js"><link rel="prefetch" href="/assets/js/17896441.9518be0c.js"><link rel="prefetch" href="/assets/js/d9584f80.f1bbc7de.js"><link rel="prefetch" href="/assets/js/1be78505.d89d2de9.js"><link rel="prefetch" href="/assets/js/756e2adf.432ac292.js"><link rel="prefetch" href="/assets/js/935f2afb.f948a62e.js"><link rel="prefetch" href="/assets/js/17896441.9518be0c.js"><link rel="prefetch" href="/assets/js/4e6ff2c2.b87cd9d4.js"><link rel="prefetch" href="/assets/js/17896441.9518be0c.js"><link rel="prefetch" href="/assets/js/d6503688.33f01528.js"><link rel="prefetch" href="/assets/js/1be78505.d89d2de9.js"><link rel="prefetch" href="/assets/js/756e2adf.432ac292.js"><link rel="prefetch" href="/assets/js/935f2afb.f948a62e.js"><link rel="prefetch" href="/assets/js/17896441.9518be0c.js"><link rel="prefetch" href="/assets/js/4e6ff2c2.b87cd9d4.js"><link rel="prefetch" href="/assets/js/17896441.9518be0c.js"><link rel="prefetch" href="/assets/js/5edab750.39db49af.js"></head>
<body class="navigation-with-keyboard" data-rh="class" style="overflow: visible;">
<script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){var t=null;try{t=localStorage.getItem("theme")}catch(t){}return t}();t(null!==e?e:"light")}()</script><div id="__docusaurus"><div role="region" aria-label="Skip to main content"><a class="skipToContent_fXgn" href="#docusaurus_skipToContent_fallback">Skip to main content</a></div><nav class="navbar navbar--fixed-top"><div class="navbar__inner"><div class="navbar__items"><button aria-label="Toggle navigation bar" aria-expanded="false" class="navbar__toggle clean-btn" type="button"><svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path></svg></button><a class="navbar__brand" href="/"><div class="navbar__logo"><img src="/img/logo-horizontal.svg" alt="Solana Logo" class="themedImage_ToTc themedImage--light_HNdA"></div></a><a aria-current="page" class="navbar__item navbar__link navbar__link--active" href="/cli">CLI</a><a class="navbar__item navbar__link" href="/architecture">Architecture</a><a class="navbar__item navbar__link" href="/operations">Operating a Validator</a><div class="navbar__item dropdown dropdown--hoverable"><a href="#" aria-haspopup="true" aria-expanded="false" role="button" class="navbar__link">More</a><ul class="dropdown__menu"><li><a class="dropdown__link" href="/proposals">Proposals</a></li><li><a href="https://spl.solana.com" target="_blank" rel="noopener noreferrer" class="dropdown__link">Solana Program Library<svg width="12" height="12" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div></div><div class="navbar__items navbar__items--right"><div class="navbar__item dropdown dropdown--hoverable dropdown--right"><a href="#" aria-haspopup="true" aria-expanded="false" role="button" class="navbar__link"><svg viewBox="0 0 24 24" width="20" height="20" aria-hidden="true" class="iconLanguage_nlXk"><path fill="currentColor" d="M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"></path></svg>English</a><ul class="dropdown__menu"><li><a href="/cli/install" target="_self" rel="noopener noreferrer" class="dropdown__link dropdown__link--active" lang="en">English</a></li><li><a href="/de/cli/install" target="_self" rel="noopener noreferrer" class="dropdown__link" lang="de">Deutsch</a></li><li><a href="/es/cli/install" target="_self" rel="noopener noreferrer" class="dropdown__link" lang="es">Español</a></li><li><a href="/ru/cli/install" target="_self" rel="noopener noreferrer" class="dropdown__link" lang="ru">Русский</a></li><li><a href="/ar/cli/install" target="_self" rel="noopener noreferrer" class="dropdown__link" lang="ar">العربية</a></li></ul></div><a href="https://solana.com/discord" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link header-link-icon header-discord-link" aria-label="Solana Discord"></a><a href="https://github.com/solana-labs/solana" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link header-link-icon header-github-link" aria-label="GitHub repository"></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP" type="button" title="Switch between dark and light mode (currently light mode)" aria-label="Switch between dark and light mode (currently light mode)" aria-live="polite"><svg viewBox="0 0 24 24" width="24" height="24" class="lightToggleIcon_pyhR"><path fill="currentColor" d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"></path></svg><svg viewBox="0 0 24 24" width="24" height="24" class="darkToggleIcon_wfgR"><path fill="currentColor" d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"></path></svg></button></div><div class="searchBox_ZlJk"><button type="button" class="DocSearch DocSearch-Button" aria-label="Search"><span class="DocSearch-Button-Container"><svg width="20" height="20" class="DocSearch-Search-Icon" viewBox="0 0 20 20"><path d="M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z" stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"></path></svg><span class="DocSearch-Button-Placeholder">Search</span></span><span class="DocSearch-Button-Keys"><kbd class="DocSearch-Button-Key"><svg width="15" height="15" class="DocSearch-Control-Key-Icon"><path d="M4.505 4.496h2M5.505 5.496v5M8.216 4.496l.055 5.993M10 7.5c.333.333.5.667.5 1v2M12.326 4.5v5.996M8.384 4.496c1.674 0 2.116 0 2.116 1.5s-.442 1.5-2.116 1.5M3.205 9.303c-.09.448-.277 1.21-1.241 1.203C1 10.5.5 9.513.5 8V7c0-1.57.5-2.5 1.464-2.494.964.006 1.134.598 1.24 1.342M12.553 10.5h1.953" stroke-width="1.2" stroke="currentColor" fill="none" stroke-linecap="square"></path></svg></kbd><kbd class="DocSearch-Button-Key">K</kbd></span></button></div></div></div><div role="presentation" class="navbar-sidebar__backdrop"></div><div class="navbar-sidebar"><div class="navbar-sidebar__brand"><a class="navbar__brand" href="/"><div class="navbar__logo"><img src="/img/logo-horizontal.svg" alt="Solana Logo" class="themedImage_ToTc themedImage--light_HNdA"></div></a><div class="toggle_vylO margin-right--md"><button class="clean-btn toggleButton_gllP" type="button" title="Switch between dark and light mode (currently light mode)" aria-label="Switch between dark and light mode (currently light mode)" aria-live="polite"><svg viewBox="0 0 24 24" width="24" height="24" class="lightToggleIcon_pyhR"><path fill="currentColor" d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"></path></svg><svg viewBox="0 0 24 24" width="24" height="24" class="darkToggleIcon_wfgR"><path fill="currentColor" d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"></path></svg></button></div><button type="button" aria-label="Close navigation bar" class="clean-btn navbar-sidebar__close"><svg viewBox="0 0 15 15" width="21" height="21"><g stroke="var(--ifm-color-emphasis-600)" stroke-width="1.2"><path d="M.75.75l13.5 13.5M14.25.75L.75 14.25"></path></g></svg></button></div><div class="navbar-sidebar__items navbar-sidebar__items--show-secondary"><div class="navbar-sidebar__item menu"><ul class="menu__list"><li class="menu__list-item"><a aria-current="page" class="menu__link menu__link--active" href="/cli">CLI</a></li><li class="menu__list-item"><a class="menu__link" href="/architecture">Architecture</a></li><li class="menu__list-item"><a class="menu__link" href="/operations">Operating a Validator</a></li><li class="menu__list-item menu__list-item--collapsed"><a role="button" class="menu__link menu__link--sublist menu__link--sublist-caret">More</a></li><li class="menu__list-item menu__list-item--collapsed"><a role="button" class="menu__link menu__link--sublist menu__link--sublist-caret"><svg viewBox="0 0 24 24" width="20" height="20" aria-hidden="true" class="iconLanguage_nlXk"><path fill="currentColor" d="M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"></path></svg>Languages</a></li><li class="menu__list-item"><a href="https://solana.com/discord" target="_blank" rel="noopener noreferrer" class="menu__link header-link-icon header-discord-link" aria-label="Solana Discord"></a></li><li class="menu__list-item"><a href="https://github.com/solana-labs/solana" target="_blank" rel="noopener noreferrer" class="menu__link header-link-icon header-github-link" aria-label="GitHub repository"></a></li></ul></div><div class="navbar-sidebar__item menu"><button type="button" class="clean-btn navbar-sidebar__back">← Back to main menu</button><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/">Home</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class="menu__list-item-collapsible"><a href="#" class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="true">Introduction</a></div><ul class="menu__list" style="display: block; overflow: visible; height: auto;"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/what-is-a-validator">What is a Validator?</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/what-is-an-rpc-node">What is an RPC Node?</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/faq">Frequently Asked Questions</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/backwards-compatibility">Backward Compatibility Policy</a></li></ul></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class="menu__list-item-collapsible"><a href="#" class="menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" aria-expanded="true">Command Line Tools</a></div><ul class="menu__list" style="display: block; overflow: visible; height: auto;"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/cli/">Overview</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current="page" tabindex="0" href="/cli/install">Installation</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/cli/intro">Introduction</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/cli/usage">Reference & Usage</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item"><div class="menu__list-item-collapsible"><a href="#" class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="true" tabindex="0">Command-line Wallets</a></div><ul class="menu__list" style="display: block; overflow: visible; height: auto;"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-3 menu__list-item"><a class="menu__link" tabindex="0" href="/cli/wallets/">Overview</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-3 menu__list-item"><a class="menu__link" tabindex="0" href="/cli/wallets/paper">Paper Wallets</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-3 menu__list-item"><a class="menu__link" tabindex="0" href="/cli/wallets/file-system">File System Wallets</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-3 menu__list-item"><div class="menu__list-item-collapsible"><a class="menu__link" tabindex="0">Hardware Wallets</a></div><ul class="menu__list" style="display: block; overflow: visible; height: auto;"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-4 menu__list-item"><a class="menu__link" tabindex="0" href="/cli/wallets/hardware/">Using in the Solana CLI</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-4 menu__list-item"><a class="menu__link" tabindex="0" href="/cli/wallets/hardware/ledger">Ledger Nano</a></li></ul></li></ul></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item"><div class="menu__list-item-collapsible"><a href="#" class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="true" tabindex="0">Command Examples</a></div><ul class="menu__list" style="display: block; overflow: visible; height: auto;"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-3 menu__list-item"><a class="menu__link" tabindex="0" href="/cli/examples/choose-a-cluster">Connecting to a Cluster</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-3 menu__list-item"><a class="menu__link" tabindex="0" href="/cli/examples/delegate-stake">Staking</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-3 menu__list-item"><a class="menu__link" tabindex="0" href="/cli/examples/deploy-a-program">Deploy a Program</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-3 menu__list-item"><a class="menu__link" tabindex="0" href="/cli/examples/durable-nonce">Durable Transaction Nonces</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-3 menu__list-item"><a class="menu__link" tabindex="0" href="/cli/examples/offline-signing">Offline Transaction Signing</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-3 menu__list-item"><a class="menu__link" tabindex="0" href="/cli/examples/sign-offchain-message">Off-Chain Message Signing</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-3 menu__list-item"><a class="menu__link" tabindex="0" href="/cli/examples/test-validator">Test Validator</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-3 menu__list-item"><a class="menu__link" tabindex="0" href="/cli/examples/transfer-tokens">Send and Receive Tokens</a></li></ul></li></ul></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a href="#" class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="false">Architecture</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a href="#" class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="false">Operating a Validator</a></div></li></ul></div></div></div></nav><div id="docusaurus_skipToContent_fallback" class="main-wrapper mainWrapper_z2l0 docsWrapper_BCFX"><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type="button"></button><div class="docPage__5DB"><aside class="theme-doc-sidebar-container docSidebarContainer_b6E3"></aside><main class="docMainContainer_gTbr"><div class="container padding-top--md padding-bottom--lg"><div class="row"><div class="col docItemCol_VOVn"><div class="docItemContainer_Djhp"><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label="Breadcrumbs"><ul class="breadcrumbs" itemscope="" itemtype="https://schema.org/BreadcrumbList"><li class="breadcrumbs__item"><a aria-label="Home page" class="breadcrumbs__link" href="/"><svg viewBox="0 0 24 24" class="breadcrumbHomeIcon_OVgt"><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill="currentColor"></path></svg></a></li><li class="breadcrumbs__item"><span class="breadcrumbs__link">Command Line Tools</span><meta itemprop="position" content="1"></li><li itemscope="" itemprop="itemListElement" itemtype="https://schema.org/ListItem" class="breadcrumbs__item breadcrumbs__item--active"><span class="breadcrumbs__link" itemprop="name">Installation</span><meta itemprop="position" content="2"></li></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type="button" class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Install the Solana CLI</h1></header><p>There are multiple ways to install the Solana tools on your computer depending
on your preferred workflow:</p><ul><li><a href="#use-solanas-install-tool">Use Solana's Install Tool (Simplest option)</a></li><li><a href="#download-prebuilt-binaries">Download Prebuilt Binaries</a></li><li><a href="#build-from-source">Build from Source</a></li><li><a href="#use-homebrew">Use Homebrew</a></li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="use-solanas-install-tool">Use Solana's Install Tool<a class="hash-link" href="#use-solanas-install-tool" title="Direct link to heading"></a></h2><h3 class="anchor anchorWithStickyNavbar_LWe7" id="macos--linux">MacOS & Linux<a class="hash-link" href="#macos--linux" title="Direct link to heading"></a></h3><ul><li><p>Open your favorite Terminal application</p></li><li><p>Install the Solana release
<a href="https://github.com/solana-labs/solana/releases/tag/v1.18.18" target="_blank" rel="noopener noreferrer">v1.18.18</a>
on your machine by running:</p></li></ul><div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color: #bfc7d5; --prism-background-color: #292d3e;"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color: rgb(191, 199, 213);"><span class="token function" style="color: rgb(130, 170, 255);">sh</span><span class="token plain"> -c </span><span class="token string" style="color: rgb(195, 232, 141);">"</span><span class="token string variable" style="color: rgb(191, 199, 213);">$(</span><span class="token string variable function" style="color: rgb(130, 170, 255);">curl</span><span class="token string variable" style="color: rgb(191, 199, 213);"> -sSfL https://release.solana.com/v1.18.18/install</span><span class="token string variable" style="color: rgb(191, 199, 213);">)</span><span class="token string" style="color: rgb(195, 232, 141);">"</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg class="copyButtonIcon_y97N" viewBox="0 0 24 24"><path d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg class="copyButtonSuccessIcon_LjdS" viewBox="0 0 24 24"><path d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div><ul><li><p>You can replace <code>v1.18.18</code> with the release tag matching
the software version of your desired release, or use one of the three symbolic
channel names: <code>stable</code>, <code>beta</code>, or <code>edge</code>.</p></li><li><p>The following output indicates a successful update:</p></li></ul><div class="language-text codeBlockContainer_Ckt0 theme-code-block" style="--prism-color: #bfc7d5; --prism-background-color: #292d3e;"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color: rgb(191, 199, 213);"><span class="token plain">downloading v1.18.18 installer</span><br></span><span class="token-line" style="color: rgb(191, 199, 213);"><span class="token plain">Configuration: /home/solana/.config/solana/install/config.yml</span><br></span><span class="token-line" style="color: rgb(191, 199, 213);"><span class="token plain">Active release directory: /home/solana/.local/share/solana/install/active_release</span><br></span><span class="token-line" style="color: rgb(191, 199, 213);"><span class="token plain">* Release version: v1.18.18</span><br></span><span class="token-line" style="color: rgb(191, 199, 213);"><span class="token plain">* Release URL: https://github.com/solana-labs/solana/releases/download/v1.18.18/solana-release-x86_64-unknown-linux-gnu.tar.bz2</span><br></span><span class="token-line" style="color: rgb(191, 199, 213);"><span class="token plain">Update successful</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" class="clean-btn" aria-label="Toggle word wrap" title="Toggle word wrap"><svg class="wordWrapButtonIcon_Bwma" viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"></path></svg></button><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg class="copyButtonIcon_y97N" viewBox="0 0 24 24"><path d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg class="copyButtonSuccessIcon_LjdS" viewBox="0 0 24 24"><path d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div><ul><li>Depending on your system, the end of the installer messaging may prompt you to</li></ul><div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color: #bfc7d5; --prism-background-color: #292d3e;"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color: rgb(191, 199, 213);"><span class="token plain">Please update your </span><span class="token environment constant" style="color: rgb(130, 170, 255);">PATH</span><span class="token plain"> environment variable to include the solana programs:</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg class="copyButtonIcon_y97N" viewBox="0 0 24 24"><path d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg class="copyButtonSuccessIcon_LjdS" viewBox="0 0 24 24"><path d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div><ul><li>If you get the above message, copy and paste the recommended command below it
to update <code>PATH</code></li><li>Confirm you have the desired version of <code>solana</code> installed by running:</li></ul><div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color: #bfc7d5; --prism-background-color: #292d3e;"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color: rgb(191, 199, 213);"><span class="token plain">solana --version</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg class="copyButtonIcon_y97N" viewBox="0 0 24 24"><path d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg class="copyButtonSuccessIcon_LjdS" viewBox="0 0 24 24"><path d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div><ul><li>After a successful install, <code>solana-install update</code> may be used to easily
update the Solana software to a newer version at any time.</li></ul><hr><h3 class="anchor anchorWithStickyNavbar_LWe7" id="windows">Windows<a class="hash-link" href="#windows" title="Direct link to heading"></a></h3><ul><li><p>Open a Command Prompt (<code>cmd.exe</code>) as an Administrator</p><ul><li>Search for Command Prompt in the Windows search bar. When the Command Prompt
app appears, right-click and select “Open as Administrator”. If you are
prompted by a pop-up window asking “Do you want to allow this app to make
changes to your device?”, click Yes.</li></ul></li><li><p>Copy and paste the following command, then press Enter to download the Solana
installer into a temporary directory:</p></li></ul><div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color: #bfc7d5; --prism-background-color: #292d3e;"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color: rgb(191, 199, 213);"><span class="token plain">cmd /c </span><span class="token string" style="color: rgb(195, 232, 141);">"curl https://release.solana.com/v1.18.18/solana-install-init-x86_64-pc-windows-msvc.exe --output C:\solana-install-tmp\solana-install-init.exe --create-dirs"</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" class="clean-btn" aria-label="Toggle word wrap" title="Toggle word wrap"><svg class="wordWrapButtonIcon_Bwma" viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"></path></svg></button><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg class="copyButtonIcon_y97N" viewBox="0 0 24 24"><path d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg class="copyButtonSuccessIcon_LjdS" viewBox="0 0 24 24"><path d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div><ul><li>Copy and paste the following command, then press Enter to install the latest
version of Solana. If you see a security pop-up by your system, please select
to allow the program to run.</li></ul><div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color: #bfc7d5; --prism-background-color: #292d3e;"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color: rgb(191, 199, 213);"><span class="token plain">C:</span><span class="token punctuation" style="color: rgb(199, 146, 234);">\</span><span class="token plain">solana-install-tmp</span><span class="token punctuation" style="color: rgb(199, 146, 234);">\</span><span class="token plain">solana-install-init.exe v1.18.18</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg class="copyButtonIcon_y97N" viewBox="0 0 24 24"><path d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg class="copyButtonSuccessIcon_LjdS" viewBox="0 0 24 24"><path d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div><ul><li><p>When the installer is finished, press Enter.</p></li><li><p>Close the command prompt window and re-open a new command prompt window as a
normal user</p><ul><li>Search for "Command Prompt" in the search bar, then left click on the
Command Prompt app icon, no need to run as Administrator)</li></ul></li><li><p>Confirm you have the desired version of <code>solana</code> installed by entering:</p></li></ul><div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color: #bfc7d5; --prism-background-color: #292d3e;"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color: rgb(191, 199, 213);"><span class="token plain">solana --version</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg class="copyButtonIcon_y97N" viewBox="0 0 24 24"><path d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg class="copyButtonSuccessIcon_LjdS" viewBox="0 0 24 24"><path d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div><ul><li>After a successful install, <code>solana-install update</code> may be used to easily
update the Solana software to a newer version at any time.</li></ul><h2 class="anchor anchorWithStickyNavbar_LWe7" id="download-prebuilt-binaries">Download Prebuilt Binaries<a class="hash-link" href="#download-prebuilt-binaries" title="Direct link to heading"></a></h2><p>If you would rather not use <code>solana-install</code> to manage the install, you can
manually download and install the binaries.</p><h3 class="anchor anchorWithStickyNavbar_LWe7" id="linux">Linux<a class="hash-link" href="#linux" title="Direct link to heading"></a></h3><p>Download the binaries by navigating to
<a href="https://github.com/solana-labs/solana/releases/latest" target="_blank" rel="noopener noreferrer">https://github.com/solana-labs/solana/releases/latest</a>,
download <strong>solana-release-x86_64-unknown-linux-gnu.tar.bz2</strong>, then extract the
archive:</p><div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color: #bfc7d5; --prism-background-color: #292d3e;"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color: rgb(191, 199, 213);"><span class="token function" style="color: rgb(130, 170, 255);">tar</span><span class="token plain"> jxf solana-release-x86_64-unknown-linux-gnu.tar.bz2</span><br></span><span class="token-line" style="color: rgb(191, 199, 213);"><span class="token plain"></span><span class="token builtin class-name" style="color: rgb(255, 203, 107);">cd</span><span class="token plain"> solana-release/</span><br></span><span class="token-line" style="color: rgb(191, 199, 213);"><span class="token plain"></span><span class="token builtin class-name" style="color: rgb(255, 203, 107);">export</span><span class="token plain"> </span><span class="token assign-left variable environment constant" style="color: rgb(130, 170, 255);">PATH</span><span class="token operator" style="color: rgb(137, 221, 255);">=</span><span class="token environment constant" style="color: rgb(130, 170, 255);">$PWD</span><span class="token plain">/bin:</span><span class="token environment constant" style="color: rgb(130, 170, 255);">$PATH</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg class="copyButtonIcon_y97N" viewBox="0 0 24 24"><path d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg class="copyButtonSuccessIcon_LjdS" viewBox="0 0 24 24"><path d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div><h3 class="anchor anchorWithStickyNavbar_LWe7" id="macos">MacOS<a class="hash-link" href="#macos" title="Direct link to heading"></a></h3><p>Download the binaries by navigating to
<a href="https://github.com/solana-labs/solana/releases/latest" target="_blank" rel="noopener noreferrer">https://github.com/solana-labs/solana/releases/latest</a>,
download <strong>solana-release-x86_64-apple-darwin.tar.bz2</strong>, then extract the
archive:</p><div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color: #bfc7d5; --prism-background-color: #292d3e;"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color: rgb(191, 199, 213);"><span class="token function" style="color: rgb(130, 170, 255);">tar</span><span class="token plain"> jxf solana-release-x86_64-apple-darwin.tar.bz2</span><br></span><span class="token-line" style="color: rgb(191, 199, 213);"><span class="token plain"></span><span class="token builtin class-name" style="color: rgb(255, 203, 107);">cd</span><span class="token plain"> solana-release/</span><br></span><span class="token-line" style="color: rgb(191, 199, 213);"><span class="token plain"></span><span class="token builtin class-name" style="color: rgb(255, 203, 107);">export</span><span class="token plain"> </span><span class="token assign-left variable environment constant" style="color: rgb(130, 170, 255);">PATH</span><span class="token operator" style="color: rgb(137, 221, 255);">=</span><span class="token environment constant" style="color: rgb(130, 170, 255);">$PWD</span><span class="token plain">/bin:</span><span class="token environment constant" style="color: rgb(130, 170, 255);">$PATH</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg class="copyButtonIcon_y97N" viewBox="0 0 24 24"><path d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg class="copyButtonSuccessIcon_LjdS" viewBox="0 0 24 24"><path d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div><h3 class="anchor anchorWithStickyNavbar_LWe7" id="windows-1">Windows<a class="hash-link" href="#windows-1" title="Direct link to heading"></a></h3><ul><li><p>Download the binaries by navigating to
<a href="https://github.com/solana-labs/solana/releases/latest" target="_blank" rel="noopener noreferrer">https://github.com/solana-labs/solana/releases/latest</a>,
download <strong>solana-release-x86_64-pc-windows-msvc.tar.bz2</strong>, then extract the
archive using WinZip or similar.</p></li><li><p>Open a Command Prompt and navigate to the directory into which you extracted
the binaries and run:</p></li></ul><div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color: #bfc7d5; --prism-background-color: #292d3e;"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color: rgb(191, 199, 213);"><span class="token builtin class-name" style="color: rgb(255, 203, 107);">cd</span><span class="token plain"> solana-release/</span><br></span><span class="token-line" style="color: rgb(191, 199, 213);"><span class="token plain"></span><span class="token builtin class-name" style="color: rgb(255, 203, 107);">set</span><span class="token plain"> </span><span class="token assign-left variable environment constant" style="color: rgb(130, 170, 255);">PATH</span><span class="token operator" style="color: rgb(137, 221, 255);">=</span><span class="token plain">%cd%/bin</span><span class="token punctuation" style="color: rgb(199, 146, 234);">;</span><span class="token plain">%</span><span class="token environment constant" style="color: rgb(130, 170, 255);">PATH</span><span class="token plain">%</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg class="copyButtonIcon_y97N" viewBox="0 0 24 24"><path d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg class="copyButtonSuccessIcon_LjdS" viewBox="0 0 24 24"><path d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div><h2 class="anchor anchorWithStickyNavbar_LWe7" id="build-from-source">Build From Source<a class="hash-link" href="#build-from-source" title="Direct link to heading"></a></h2><p>If you are unable to use the prebuilt binaries or prefer to build it yourself
from source, follow these steps, ensuring you have the necessary prerequisites
installed on your system.</p><h3 class="anchor anchorWithStickyNavbar_LWe7" id="prerequisites">Prerequisites<a class="hash-link" href="#prerequisites" title="Direct link to heading"></a></h3><p>Before building from source, make sure to install the following prerequisites:</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="for-debian-and-other-linux-distributions">For Debian and Other Linux Distributions:<a class="hash-link" href="#for-debian-and-other-linux-distributions" title="Direct link to heading"></a></h4><p>Rust Programming Language: Check "Install Rust" at
<a href="https://www.rust-lang.org/tools/install" target="_blank" rel="noopener noreferrer">https://www.rust-lang.org/tools/install</a>,
which recommends the following command.</p><div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color: #bfc7d5; --prism-background-color: #292d3e;"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color: rgb(191, 199, 213);"><span class="token function" style="color: rgb(130, 170, 255);">curl</span><span class="token plain"> --proto </span><span class="token string" style="color: rgb(195, 232, 141);">'=https'</span><span class="token plain"> --tlsv1.2 -sSf https://sh.rustup.rs </span><span class="token operator" style="color: rgb(137, 221, 255);">|</span><span class="token plain"> </span><span class="token function" style="color: rgb(130, 170, 255);">sh</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg class="copyButtonIcon_y97N" viewBox="0 0 24 24"><path d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg class="copyButtonSuccessIcon_LjdS" viewBox="0 0 24 24"><path d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div><p>Install build dependencies:</p><ul><li>Build essential</li><li>Package config</li><li>Udev & LLM & libclang</li><li>Protocol buffers</li></ul><div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color: #bfc7d5; --prism-background-color: #292d3e;"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color: rgb(191, 199, 213);"><span class="token function" style="color: rgb(130, 170, 255);">apt-get</span><span class="token plain"> </span><span class="token function" style="color: rgb(130, 170, 255);">install</span><span class="token plain"> </span><span class="token punctuation" style="color: rgb(199, 146, 234);">\</span><span class="token plain"></span><br></span><span class="token-line" style="color: rgb(191, 199, 213);"><span class="token plain"> build-essential </span><span class="token punctuation" style="color: rgb(199, 146, 234);">\</span><span class="token plain"></span><br></span><span class="token-line" style="color: rgb(191, 199, 213);"><span class="token plain"> pkg-config </span><span class="token punctuation" style="color: rgb(199, 146, 234);">\</span><span class="token plain"></span><br></span><span class="token-line" style="color: rgb(191, 199, 213);"><span class="token plain"> libudev-dev llvm libclang-dev </span><span class="token punctuation" style="color: rgb(199, 146, 234);">\</span><span class="token plain"></span><br></span><span class="token-line" style="color: rgb(191, 199, 213);"><span class="token plain"> protobuf-compiler</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg class="copyButtonIcon_y97N" viewBox="0 0 24 24"><path d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg class="copyButtonSuccessIcon_LjdS" viewBox="0 0 24 24"><path d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div><h4 class="anchor anchorWithStickyNavbar_LWe7" id="for-other-linux-distributions">For Other Linux Distributions:<a class="hash-link" href="#for-other-linux-distributions" title="Direct link to heading"></a></h4><p>Replace <code>apt</code> with your distribution's package manager (e.g., <code>yum</code>, <code>dnf</code>,
<code>pacman</code>) and adjust package names as needed.</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="for-macos">For macOS:<a class="hash-link" href="#for-macos" title="Direct link to heading"></a></h4><p>Install Homebrew (if not already installed), check "Install Hombrew" at
<a href="https://brew.sh/" target="_blank" rel="noopener noreferrer">https://brew.sh/</a>, which recommends the following command:</p><div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color: #bfc7d5; --prism-background-color: #292d3e;"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color: rgb(191, 199, 213);"><span class="token plain">/bin/bash -c </span><span class="token string" style="color: rgb(195, 232, 141);">"</span><span class="token string variable" style="color: rgb(191, 199, 213);">$(</span><span class="token string variable function" style="color: rgb(130, 170, 255);">curl</span><span class="token string variable" style="color: rgb(191, 199, 213);"> -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh</span><span class="token string variable" style="color: rgb(191, 199, 213);">)</span><span class="token string" style="color: rgb(195, 232, 141);">"</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" class="clean-btn" aria-label="Toggle word wrap" title="Toggle word wrap"><svg class="wordWrapButtonIcon_Bwma" viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"></path></svg></button><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg class="copyButtonIcon_y97N" viewBox="0 0 24 24"><path d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg class="copyButtonSuccessIcon_LjdS" viewBox="0 0 24 24"><path d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div><p>Install the necessary tools and libraries using Homebrew:</p><div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color: #bfc7d5; --prism-background-color: #292d3e;"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color: rgb(191, 199, 213);"><span class="token plain">brew </span><span class="token function" style="color: rgb(130, 170, 255);">install</span><span class="token plain"> rust pkg-config libudev protobuf llvm coreutils</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg class="copyButtonIcon_y97N" viewBox="0 0 24 24"><path d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg class="copyButtonSuccessIcon_LjdS" viewBox="0 0 24 24"><path d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div><p>Follow the instructions given at the end of the brew install command about
<code>PATH</code> configurations.</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="for-windows">For Windows:<a class="hash-link" href="#for-windows" title="Direct link to heading"></a></h4><p>Rust Programming Language: Check "Install Rust" at
<a href="https://www.rust-lang.org/tools/install" target="_blank" rel="noopener noreferrer">https://www.rust-lang.org/tools/install</a>,
which recommends the following command.</p><div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color: #bfc7d5; --prism-background-color: #292d3e;"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color: rgb(191, 199, 213);"><span class="token function" style="color: rgb(130, 170, 255);">curl</span><span class="token plain"> --proto </span><span class="token string" style="color: rgb(195, 232, 141);">'=https'</span><span class="token plain"> --tlsv1.2 -sSf https://sh.rustup.rs </span><span class="token operator" style="color: rgb(137, 221, 255);">|</span><span class="token plain"> </span><span class="token function" style="color: rgb(130, 170, 255);">sh</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg class="copyButtonIcon_y97N" viewBox="0 0 24 24"><path d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg class="copyButtonSuccessIcon_LjdS" viewBox="0 0 24 24"><path d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div><ul><li>Download and install the Build Tools for Visual Studio (2019 or later) from
the
<a href="https://visualstudio.microsoft.com/downloads/" target="_blank" rel="noopener noreferrer">Visual Studio downloads page</a>.
Make sure to include the C++ build tools in the installation.</li><li>Install LLVM: Download and install LLVM from the
<a href="https://releases.llvm.org/download.html" target="_blank" rel="noopener noreferrer">official LLVM download page</a>.</li><li>Install Protocol Buffers Compiler (protoc): Download <code>protoc</code> from the
<a href="https://github.com/protocolbuffers/protobuf/releases" target="_blank" rel="noopener noreferrer">GitHub releases page of Protocol Buffers</a>,
and add it to your <code>PATH</code>.</li></ul><div class="theme-admonition theme-admonition-info alert alert--info admonition_LlT9"><div class="admonitionHeading_tbUL"><span class="admonitionIcon_kALy"><svg viewBox="0 0 14 16"><path fill-rule="evenodd" d="M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"></path></svg></span>info</div><div class="admonitionContent_S0QG"><p>Users on Windows 10 or 11 may need to install
<a href="https://learn.microsoft.com/en-us/windows/wsl/install" target="_blank" rel="noopener noreferrer">Windows Subsystem for Linux</a>
(WSL) in order to be able to build from source. WSL provides a Linux environment
that runs inside your existing Windows installation. You can then run regular
Linux software, including the Linux versions of Solana CLI.</p><p>After installed, run <code>wsl</code> from your Windows terminal, then continue through the
<a href="#for-debian-and-other-linux-distributions">Debian and Other Linux Distributions</a>
above.</p></div></div><h3 class="anchor anchorWithStickyNavbar_LWe7" id="building-from-source">Building from Source<a class="hash-link" href="#building-from-source" title="Direct link to heading"></a></h3><p>After installing the prerequisites, proceed with building Solana from source,
navigate to
<a href="https://github.com/solana-labs/solana/releases/latest" target="_blank" rel="noopener noreferrer">Solana's GitHub releases page</a>,
and download the <strong>Source Code</strong> archive. Extract the code and build the
binaries with:</p><div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color: #bfc7d5; --prism-background-color: #292d3e;"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color: rgb(191, 199, 213);"><span class="token plain">./scripts/cargo-install-all.sh </span><span class="token builtin class-name" style="color: rgb(255, 203, 107);">.</span><span class="token plain"></span><br></span><span class="token-line" style="color: rgb(191, 199, 213);"><span class="token plain"></span><span class="token builtin class-name" style="color: rgb(255, 203, 107);">export</span><span class="token plain"> </span><span class="token assign-left variable environment constant" style="color: rgb(130, 170, 255);">PATH</span><span class="token operator" style="color: rgb(137, 221, 255);">=</span><span class="token environment constant" style="color: rgb(130, 170, 255);">$PWD</span><span class="token plain">/bin:</span><span class="token environment constant" style="color: rgb(130, 170, 255);">$PATH</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg class="copyButtonIcon_y97N" viewBox="0 0 24 24"><path d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg class="copyButtonSuccessIcon_LjdS" viewBox="0 0 24 24"><path d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div><p>You can then run the following command to obtain the same result as with
prebuilt binaries:</p><div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color: #bfc7d5; --prism-background-color: #292d3e;"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color: rgb(191, 199, 213);"><span class="token plain">solana-install init</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg class="copyButtonIcon_y97N" viewBox="0 0 24 24"><path d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg class="copyButtonSuccessIcon_LjdS" viewBox="0 0 24 24"><path d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div><h2 class="anchor anchorWithStickyNavbar_LWe7" id="use-homebrew">Use Homebrew<a class="hash-link" href="#use-homebrew" title="Direct link to heading"></a></h2><p>This option requires you to have <a href="https://brew.sh/" target="_blank" rel="noopener noreferrer">Homebrew</a> package manager on
your MacOS or Linux machine.</p><h3 class="anchor anchorWithStickyNavbar_LWe7" id="macos--linux-1">MacOS & Linux<a class="hash-link" href="#macos--linux-1" title="Direct link to heading"></a></h3><ul><li>Follow instructions at: <a href="https://formulae.brew.sh/formula/solana" target="_blank" rel="noopener noreferrer">https://formulae.brew.sh/formula/solana</a></li></ul><p><a href="https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/solana.rb" target="_blank" rel="noopener noreferrer">Homebrew formulae</a>
is updated after each <code>solana</code> release, however it is possible that the Homebrew
version is outdated.</p><ul><li>Confirm you have the desired version of <code>solana</code> installed by entering:</li></ul><div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color: #bfc7d5; --prism-background-color: #292d3e;"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color: rgb(191, 199, 213);"><span class="token plain">solana --version</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg class="copyButtonIcon_y97N" viewBox="0 0 24 24"><path d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg class="copyButtonSuccessIcon_LjdS" viewBox="0 0 24 24"><path d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div></div></article><nav class="pagination-nav docusaurus-mt-lg" aria-label="Docs pages navigation"><a class="pagination-nav__link pagination-nav__link--prev" href="/cli/"><div class="pagination-nav__sublabel">Previous</div><div class="pagination-nav__label">Solana CLI Tool Suite</div></a><a class="pagination-nav__link pagination-nav__link--next" href="/cli/intro"><div class="pagination-nav__sublabel">Next</div><div class="pagination-nav__label">Introduction to the Solana CLI</div></a></nav></div></div></div></div></main></div></div><footer class="footer footer--dark"><div class="container"><div class="row footer__links"><div class="col footer__col"><h4 class="footer__title">Documentation</h4><ul class="footer__items"><li class="footer__item"><a href="https://solana.com/developers" target="_blank" rel="noopener noreferrer" class="footer__link-item">Developers »</a></li><li class="footer__item"><a class="footer__link-item" href="/operations">Running a Validator</a></li><li class="footer__item"><a class="footer__link-item" href="/cli">Command Line</a></li><li class="footer__item"><a class="footer__link-item" href="/architecture">Architecture</a></li></ul></div><div class="col footer__col"><h4 class="footer__title">Community</h4><ul class="footer__items"><li class="footer__item"><a href="https://solana.stackexchange.com/" target="_blank" rel="noopener noreferrer" class="footer__link-item">Stack Exchange »</a></li><li class="footer__item"><a href="https://github.com/solana-labs/solana" target="_blank" rel="noopener noreferrer" class="footer__link-item">GitHub »</a></li><li class="footer__item"><a href="https://solana.com/discord" target="_blank" rel="noopener noreferrer" class="footer__link-item">Discord »</a></li><li class="footer__item"><a href="https://solana.com/twitter" target="_blank" rel="noopener noreferrer" class="footer__link-item">Twitter »</a></li><li class="footer__item"><a href="https://forum.solana.com" target="_blank" rel="noopener noreferrer" class="footer__link-item">Forum »</a></li></ul></div><div class="col footer__col"><h4 class="footer__title">Resources</h4><ul class="footer__items"><li class="footer__item"><a href="https://solana.com/docs/terminology" target="_blank" rel="noopener noreferrer" class="footer__link-item">Terminology »</a></li><li class="footer__item"><a class="footer__link-item" href="/proposals">Proposals</a></li><li class="footer__item"><a href="https://spl.solana.com" target="_blank" rel="noopener noreferrer" class="footer__link-item">Solana Program Library »</a></li></ul></div></div><div class="text--center"><div>Copyright © 2024 Solana Labs</div></div></div></footer></div>
<script src="/assets/js/runtime~main.f81cd6d0.js"></script>
<script src="/assets/js/main.dc14f7cc.js"></script>
</body></html>