-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Download-the-CLI markdown component (#406)
- Loading branch information
1 parent
be2688b
commit cadfd64
Showing
3 changed files
with
38 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import Tabs from "@theme/Tabs"; | ||
import TabItem from "@theme/TabItem"; | ||
|
||
You can download the CLI binary below and start using it immediately. Please follow the instructions for your system. | ||
|
||
<Tabs groupId="os-preference" className="api-tabs"> | ||
|
||
<TabItem value="macOS-or-linux" label="macOS and Linux"> | ||
|
||
Simply run the installer script in your terminal: | ||
|
||
```bash | ||
curl -L https://graphql-engine-cdn.hasura.io/ddn/cli/v1/get.sh | bash | ||
``` | ||
|
||
</TabItem> | ||
|
||
<TabItem value="windows" label="Windows"> | ||
Download the latest `cli-ddn-windows-amd64.exe` binary and run it. | ||
|
||
```bash | ||
curl -L https://graphql-engine-cdn.hasura.io/ddn/cli/v1/latest/cli-ddn-windows-amd64.exe -o ddn.exe | ||
``` | ||
|
||
:::info Unrecognized application warning | ||
|
||
In Windows, if you get an "Unrecognized application" warning, click "Run anyway". | ||
|
||
::: | ||
|
||
</TabItem> | ||
</Tabs> |