Skip to content

Docs: Reintroduce install.sh #452

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,17 @@ Here are some sample use cases of GPTScript:


### Getting started
MacOS and Linux:
MacOS and Linux (Homebrew):
```
brew install gptscript-ai/tap/gptscript
gptscript github.com/gptscript-ai/llm-basics-demo
```

MacOS and Linux (install.sh):
```
curl https://get.gptscript.ai/install.sh | sh
```

Comment on lines +21 to +25
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIRC script is also set up to pull windows releases, but I've never verified that.

Windows:
```
winget install gptscript-ai.gptscript
Expand Down
19 changes: 11 additions & 8 deletions docs/docs/01-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,26 @@ Here are some sample use cases of GPTScript:
### Getting Started

<Tabs>
<TabItem value="MacOS and Linux">
<TabItem value="MacOS and Linux (Homebrew)">
```shell
brew install gptscript-ai/tap/gptscript
gptscript github.com/gptscript-ai/llm-basics-demo
```
A few notes:
- You'll need an [OpenAI API key](https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key)
- The above script is a simple chat-based assistant. You can ask it questions and it will answer to the best of its ability.
</TabItem>
<TabItem value="MacOS and Linux (install.sh)">
```shell
curl https://get.gptscript.ai/install.sh | sh
gptscript github.com/gptscript-ai/llm-basics-demo
```
</TabItem>
<TabItem value="Windows">
```shell
winget install gptscript-ai.gptscript
gptscript github.com/gptscript-ai/llm-basics-demo
```
A few notes:
- You'll need an [OpenAI API key](https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key)
- After installing gptscript you may need to restart your terminal for the changes to take effect
- The above script is a simple chat-based assistant. You can ask it questions and it will answer to the best of its ability.
</TabItem>
</Tabs>
A few notes:
- You'll need an [OpenAI API key](https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key)
- On Windows, after installing gptscript you may need to restart your terminal for the changes to take effect
- The above script is a simple chat-based assistant. You can ask it questions and it will answer to the best of its ability.
Loading