Update install instructions to point at 0.20.0 (#6585)
This commit is contained in:
@ -11,7 +11,7 @@ This document proposes an easy to use software install and updater that can be u
|
|||||||
The easiest install method for supported platforms:
|
The easiest install method for supported platforms:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ curl -sSf https://raw.githubusercontent.com/solana-labs/solana/v0.18.0/install/solana-install-init.sh | sh
|
$ curl -sSf https://raw.githubusercontent.com/solana-labs/solana/v0.20.0/install/solana-install-init.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
This script will check github for the latest tagged release and download and run the `solana-install-init` binary from there.
|
This script will check github for the latest tagged release and download and run the `solana-install-init` binary from there.
|
||||||
@ -20,7 +20,7 @@ If additional arguments need to be specified during the installation, the follow
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ init_args=.... # arguments for `solana-install-init ...`
|
$ init_args=.... # arguments for `solana-install-init ...`
|
||||||
$ curl -sSf https://raw.githubusercontent.com/solana-labs/solana/v0.18.0/install/solana-install-init.sh | sh -s - ${init_args}
|
$ curl -sSf https://raw.githubusercontent.com/solana-labs/solana/v0.20.0/install/solana-install-init.sh | sh -s - ${init_args}
|
||||||
```
|
```
|
||||||
|
|
||||||
### Fetch and run a pre-built installer from a Github release
|
### Fetch and run a pre-built installer from a Github release
|
||||||
@ -28,7 +28,7 @@ $ curl -sSf https://raw.githubusercontent.com/solana-labs/solana/v0.18.0/install
|
|||||||
With a well-known release URL, a pre-built binary can be obtained for supported platforms:
|
With a well-known release URL, a pre-built binary can be obtained for supported platforms:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ curl -o solana-install-init https://github.com/solana-labs/solana/releases/download/v0.18.0/solana-install-init-x86_64-apple-darwin
|
$ curl -o solana-install-init https://github.com/solana-labs/solana/releases/download/v0.20.0/solana-install-init-x86_64-apple-darwin
|
||||||
$ chmod +x ./solana-install-init
|
$ chmod +x ./solana-install-init
|
||||||
$ ./solana-install-init --help
|
$ ./solana-install-init --help
|
||||||
```
|
```
|
||||||
|
@ -47,7 +47,7 @@ The `solana-install` tool can be used to easily install and upgrade the cluster
|
|||||||
#### Linux and mac OS
|
#### Linux and mac OS
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ curl -sSf https://raw.githubusercontent.com/solana-labs/solana/v0.18.0/install/solana-install-init.sh | sh -s
|
$ curl -sSf https://raw.githubusercontent.com/solana-labs/solana/v0.20.0/install/solana-install-init.sh | sh -s
|
||||||
```
|
```
|
||||||
|
|
||||||
Alternatively build the `solana-install` program from source and run the following command to obtain the same result:
|
Alternatively build the `solana-install` program from source and run the following command to obtain the same result:
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
The `solana-install` tool can be used to easily install and upgrade the validator software on Linux x86\_64 and mac OS systems.
|
The `solana-install` tool can be used to easily install and upgrade the validator software on Linux x86\_64 and mac OS systems.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ curl -sSf https://raw.githubusercontent.com/solana-labs/solana/v0.18.0/install/solana-install-init.sh | sh -s
|
$ curl -sSf https://raw.githubusercontent.com/solana-labs/solana/v0.20.0/install/solana-install-init.sh | sh -s
|
||||||
```
|
```
|
||||||
|
|
||||||
Alternatively build the `solana-install` program from source and run the following command to obtain the same result:
|
Alternatively build the `solana-install` program from source and run the following command to obtain the same result:
|
||||||
|
@ -16,7 +16,7 @@ You can submit a JSON-RPC request to see the specific version of the cluster.
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ curl -X POST -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","id":1, "method":"getVersion"}' edge.testnet.solana.com:8899
|
$ curl -X POST -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","id":1, "method":"getVersion"}' edge.testnet.solana.com:8899
|
||||||
{"jsonrpc":"2.0","result":{"solana-core":"0.18.0-pre1"},"id":1}
|
{"jsonrpc":"2.0","result":{"solana-core":"0.20.0"},"id":1}
|
||||||
```
|
```
|
||||||
|
|
||||||
## Using a Different Testnet
|
## Using a Different Testnet
|
||||||
@ -28,17 +28,17 @@ This guide is written in the context of testnet.solana.com, our most stable clus
|
|||||||
If you are bootstrapping with `solana-install`, you can specify the release tag or named channel to install to match your desired testnet.
|
If you are bootstrapping with `solana-install`, you can specify the release tag or named channel to install to match your desired testnet.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ curl -sSf https://raw.githubusercontent.com/solana-labs/solana/v0.18.0/install/solana-install-init.sh | sh -s - 0.18.0
|
$ curl -sSf https://raw.githubusercontent.com/solana-labs/solana/v0.20.0/install/solana-install-init.sh | sh -s - 0.20.0
|
||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ curl -sSf https://raw.githubusercontent.com/solana-labs/solana/v0.18.0/install/solana-install-init.sh | sh -s - beta
|
$ curl -sSf https://raw.githubusercontent.com/solana-labs/solana/v0.20.0/install/solana-install-init.sh | sh -s - beta
|
||||||
```
|
```
|
||||||
|
|
||||||
Similarly, you can add this argument to the `solana-install` command if you've built the program from source:
|
Similarly, you can add this argument to the `solana-install` command if you've built the program from source:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ solana-install init 0.18.0
|
$ solana-install init 0.20.0
|
||||||
```
|
```
|
||||||
|
|
||||||
If you are downloading pre-compiled binaries or building from source, simply choose the release matching your desired testnet.
|
If you are downloading pre-compiled binaries or building from source, simply choose the release matching your desired testnet.
|
||||||
|
Reference in New Issue
Block a user