Skip to content

Commit

Permalink
docs: Added videos to the README for installation process on Windows (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
FroVolod authored Aug 11, 2024
1 parent 53b75da commit c343448
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 6 deletions.
31 changes: 25 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,39 +13,58 @@ Just run `near` and let it guide you through!
Visit [Releases page](https://github.com/near/near-cli-rs/releases/) to see the latest updates.

<details>
<summary>Install prebuilt binaries via shell script (macOS, Linux, WSL)</summary>
<summary>Install via Windows Installer (Windows)</summary>


https://github.com/user-attachments/assets/607f797b-0412-4741-984b-6b6032d05262

</details>

<details>
<summary>Install via powershell script (Windows)</summary>

```sh
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/near/near-cli-rs/releases/latest/download/near-cli-rs-installer.sh | sh
irm https://github.com/near/near-cli-rs/releases/latest/download/near-cli-rs-installer.ps1 | iex
```

https://github.com/user-attachments/assets/7d5d090e-4885-4c27-9d0f-045905952071

</details>

<details>
<summary>Install prebuilt binaries via powershell script (Windows)</summary>
<summary>Install via shell script (macOS, Linux, Windows/WSL)</summary>

```sh
irm https://github.com/near/near-cli-rs/releases/latest/download/near-cli-rs-installer.ps1 | iex
```
</details>

<details>
<summary>Run prebuilt binaries with npx (Node.js)</summary>
<summary>Run via npx (Node.js on Windows, Linux, macOS)</summary>

```sh
npx near-cli-rs
```
</details>

<details>
<summary>Install prebuilt binaries into your npm project (Node.js)</summary>
<summary>Use in package.json scripts (Node.js on Windows, Linux, macOS)</summary>

```sh
npm install near-cli-rs
```
</details>

<details>
<summary>Compile and install from the source code (Cargo)</summary>
<summary>Get a portable version (Windows, Linux, macOS)</summary>


https://github.com/user-attachments/assets/4a7e4633-1957-4dc2-a032-827fa9c06c29

</details>

<details>
<summary>Compile and install from the source code (Cargo on Windows, Linux, macOS)</summary>

Install it with `cargo`, just make sure you have [Rust](https://rustup.rs) installed on your computer.

Expand Down
Binary file added docs/media/install-powershell-script-small.mp4
Binary file not shown.
Binary file added docs/media/install-windows-msvc-msi-small.mp4
Binary file not shown.
Binary file added docs/media/install-windows-msvc-tar-gz-small.mp4
Binary file not shown.

0 comments on commit c343448

Please sign in to comment.