Mayur commited on
Commit
e13790c
·
unverified ·
1 Parent(s): dd4dd2c

Added more instructions for newbs

Browse files
Files changed (1) hide show
  1. README.md +39 -5
README.md CHANGED
@@ -59,19 +59,53 @@ Before you begin, ensure you have the following installed:
59
 
60
  ## Setup
61
 
62
- 1. Clone the repository (if you haven't already):
63
 
64
- ```bash
 
 
 
 
 
 
 
 
 
 
 
 
65
  git clone https://github.com/coleam00/bolt.new-any-llm.git
66
  ```
67
 
68
- 2. Install dependencies:
69
 
70
- ```bash
71
  pnpm install
72
  ```
73
 
74
- 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):
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
75
 
76
  ```
77
  GROQ_API_KEY=XXX
 
59
 
60
  ## Setup
61
 
62
+ 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.
63
 
64
+ 1. Install Git from https://git-scm.com/downloads
65
+
66
+ 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
67
+
68
+ ```
69
+ echo $PATH .
70
+ ```
71
+
72
+ If you see usr/local/bin in the output then you're good to go.
73
+
74
+ 3. Clone the repository (if you haven't already) by opening a Terminal window (or CMD with admin permissions) and then typing in this:
75
+
76
+ ```
77
  git clone https://github.com/coleam00/bolt.new-any-llm.git
78
  ```
79
 
80
+ 4. Install dependencies using Terminal (or CMD in Windows with admin permissions):
81
 
82
+ ```
83
  pnpm install
84
  ```
85
 
86
+ 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:
87
+
88
+ ```
89
+ sudo npm install -g pnpm
90
+ ```
91
+
92
+ 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"
93
+
94
+ ![image](https://github.com/user-attachments/assets/7e6a532c-2268-401f-8310-e8d20c731328)
95
+
96
+ 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.
97
+
98
+ ```
99
+ defaults write com.apple.finder AppleShowAllFiles YES
100
+ ```
101
+
102
+ **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:
103
+
104
+ Get your GROQ API Key here: https://console.groq.com/keys
105
+
106
+ 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
107
+
108
+ Get your Anthropic API Key in your account settings: https://console.anthropic.com/settings/keys
109
 
110
  ```
111
  GROQ_API_KEY=XXX