Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
gregsadetsky committed May 14, 2024
1 parent bc186d7 commit 091a8e8
Showing 1 changed file with 22 additions and 12 deletions.
34 changes: 22 additions & 12 deletions docs/get-started/install-the-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,37 @@ sidebar_position: 1

# Install the CLI

## Install from a tarball
### Easy install

Use the table below to find the file for your operating system.
The easiest way to set up the CLI under Linux and macOS is to run the following script:

```bash
curl https://cli-assets.letsdisco.dev/install.sh | sh
```

The script requires sudo and isn't compatible with Windows.

### Tarballs

You can also download one of these tarballs and extract it yourself:

| Operating system | Tarball | Notes |
| ---------------- | --- | ----- |
| Linux | [disco-linux-arm.tar.gz](https://disco-cli-assets.s3.amazonaws.com/channels/stable/disco-linux-arm.tar.gz) | |
| Linux | [disco-linux-arm64.tar.gz](https://disco-cli-assets.s3.amazonaws.com/channels/stable/disco-linux-arm64.tar.gz) | |
| Linux | [disco-linux-x64.tar.gz](https://disco-cli-assets.s3.amazonaws.com/channels/stable/disco-linux-x64.tar.gz) | |
| macOS | [disco-darwin-arm64.tar.gz](https://disco-cli-assets.s3.amazonaws.com/channels/stable/disco-darwin-arm64.tar.gz) | For Apple Silicon (M1, etc.)<br />[See note below](#for-macos-if-you-get-an-error-saying-node-cant-be-opened-because-apple-cannot-check-it-for-malicious-software-run-the-following-command). |
| macOS | [disco-darwin-x64.tar.gz](https://disco-cli-assets.s3.amazonaws.com/channels/stable/disco-darwin-x64.tar.gz) | [See note below](#for-macos-if-you-get-an-error-saying-node-cant-be-opened-because-apple-cannot-check-it-for-malicious-software-run-the-following-command). |
| Windows | [disco-win32-x64.tar.gz](https://disco-cli-assets.s3.amazonaws.com/channels/stable/disco-win32-x64.tar.gz) | |
| Windows | [disco-win32-x86.tar.gz](https://disco-cli-assets.s3.amazonaws.com/channels/stable/disco-win32-x86.tar.gz) | |
| Linux | [disco-linux-arm.tar.gz](https://cli-assets.letsdisco.dev/channels/stable/disco-linux-arm.tar.gz) | |
| Linux | [disco-linux-arm64.tar.gz](https://cli-assets.letsdisco.dev/channels/stable/disco-linux-arm64.tar.gz) | |
| Linux | [disco-linux-x64.tar.gz](https://cli-assets.letsdisco.dev/channels/stable/disco-linux-x64.tar.gz) | |
| macOS | [disco-darwin-arm64.tar.gz](https://cli-assets.letsdisco.dev/channels/stable/disco-darwin-arm64.tar.gz) | For Apple Silicon (M1, etc.)<br />[See note below](#for-macos-if-you-get-an-error-saying-node-cant-be-opened-because-apple-cannot-check-it-for-malicious-software-run-the-following-command). |
| macOS | [disco-darwin-x64.tar.gz](https://cli-assets.letsdisco.dev/channels/stable/disco-darwin-x64.tar.gz) | [See note below](#for-macos-if-you-get-an-error-saying-node-cant-be-opened-because-apple-cannot-check-it-for-malicious-software-run-the-following-command). |
| Windows | [disco-win32-x64.tar.gz](https://cli-assets.letsdisco.dev/channels/stable/disco-win32-x64.tar.gz) | |
| Windows | [disco-win32-x86.tar.gz](https://cli-assets.letsdisco.dev/channels/stable/disco-win32-x86.tar.gz) | |

### Steps after downloading
#### After downloading

- Extract the tarball into a directory of your choice i.e. `tar -zxf (.tar.gz archive)`
- Then, add the `bin` directory inside the extracted directory to your `PATH`. For example, if you extracted the tarball to `/usr/local/disco`:
- Then, create a symbolic link to the `bin/disco` script in a directory that is in your `PATH`. For example:

```bash
export PATH=$PATH:/usr/local/disco/bin
sudo ln -s ~/myapps/disco/bin/disco /usr/local/bin/disco
```

Test the installation by running:
Expand Down

0 comments on commit 091a8e8

Please sign in to comment.