Cole Medin commited on
Commit
3cbe207
·
unverified ·
2 Parent(s): 2feeb18 0089d5c

Merge pull request #55 from mayurjobanputra/main

Browse files
Files changed (1) hide show
  1. README.md +39 -5
README.md CHANGED
@@ -70,19 +70,53 @@ Before you begin, ensure you have the following installed:
70
 
71
  ## Setup
72
 
73
- 1. Clone the repository (if you haven't already):
74
 
75
- ```bash
 
 
 
 
 
 
 
 
 
 
 
 
76
  git clone https://github.com/coleam00/bolt.new-any-llm.git
77
  ```
78
 
79
- 2. Install dependencies:
80
 
81
- ```bash
82
  pnpm install
83
  ```
84
 
85
- 3. Rename `.env.example` to .env.local and add your LLM API keys (you only have to set the ones you want to use and Ollama doesn't need an API key because it runs locally on your computer):
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
86
 
87
  ```
88
  GROQ_API_KEY=XXX
 
70
 
71
  ## Setup
72
 
73
+ Many of you are new users to installing software from Github. Below are instructions for Mac users. PC users may be able to follow the instructions below as well. If you have any installation troubles reach out and submit an "issue" using the links above, or feel free to enhance this documentation by forking, editing the instructions, and doing a pull request.
74
 
75
+ 1. Install Git from https://git-scm.com/downloads
76
+
77
+ 2. Install Node.js from https://nodejs.org/en/download/. Pay attention to the installer notes after completion. On a Mac, it will tell you to check if /usr/local/bin is in your $PATH. To determine if usr/local/bin is included in $PATH open your Terminal and run
78
+
79
+ ```
80
+ echo $PATH .
81
+ ```
82
+
83
+ If you see usr/local/bin in the output then you're good to go.
84
+
85
+ 3. Clone the repository (if you haven't already) by opening a Terminal window (or CMD with admin permissions) and then typing in this:
86
+
87
+ ```
88
  git clone https://github.com/coleam00/bolt.new-any-llm.git
89
  ```
90
 
91
+ 4. Install dependencies using Terminal (or CMD in Windows with admin permissions):
92
 
93
+ ```
94
  pnpm install
95
  ```
96
 
97
+ If you get an error saying "command not found: pnpm" or similar, then that means pnpm isn't installed. You can install it via this:
98
+
99
+ ```
100
+ sudo npm install -g pnpm
101
+ ```
102
+
103
+ 5. Rename .env.example to .env.local and add your LLM API keys. You will find this file on a Mac at "[your name]/bold.new-any-llm/.env.example"
104
+
105
+ ![image](https://github.com/user-attachments/assets/7e6a532c-2268-401f-8310-e8d20c731328)
106
+
107
+ If you can't see the file indicated above, its likely you can't view hidden files. On Mac, open a Terminal window and enter this command below. On Windows, you will see the hidden files option in File Explorer Settings. A quick Google search will help you if you are stuck here.
108
+
109
+ ```
110
+ defaults write com.apple.finder AppleShowAllFiles YES
111
+ ```
112
+
113
+ **NOTE**: you only have to set the ones you want to use and Ollama doesn't need an API key because it runs locally on your computer:
114
+
115
+ Get your GROQ API Key here: https://console.groq.com/keys
116
+
117
+ Get your Open AI API Key by following these instructions: https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key
118
+
119
+ Get your Anthropic API Key in your account settings: https://console.anthropic.com/settings/keys
120
 
121
  ```
122
  GROQ_API_KEY=XXX