refactor(cursor): Migrate setup commands from npm to Bun for improved performance
- Updated installation and setup commands in documentation to use Bun instead of npm. - Adjusted commands across various setup guides including QUICKSTART.md, STANDALONE-SETUP.md, and others. - Ensured consistency in command usage for all platforms (macOS, Linux, Windows). This change enhances the installation process and aligns with the recent performance improvements associated with Bun.
This commit is contained in:
@@ -32,10 +32,10 @@ git clone https://github.com/thedotmack/claude-mem.git
|
||||
cd claude-mem
|
||||
|
||||
# Install dependencies
|
||||
npm install
|
||||
bun install
|
||||
|
||||
# Build the project
|
||||
npm run build
|
||||
bun run build
|
||||
```
|
||||
|
||||
## Step 3: Configure Gemini Provider
|
||||
@@ -45,7 +45,7 @@ npm run build
|
||||
Run the setup wizard which guides you through everything:
|
||||
|
||||
```bash
|
||||
npm run cursor:setup
|
||||
bun run cursor:setup
|
||||
```
|
||||
|
||||
The wizard will:
|
||||
@@ -77,8 +77,8 @@ Replace `YOUR_GEMINI_API_KEY` with your actual API key.
|
||||
Then install hooks and start the worker:
|
||||
|
||||
```bash
|
||||
npm run cursor:install
|
||||
npm run worker:start
|
||||
bun run cursor:install
|
||||
bun run worker:start
|
||||
```
|
||||
|
||||
## Step 4: Restart Cursor
|
||||
@@ -89,10 +89,10 @@ Close and reopen Cursor IDE for the hooks to take effect.
|
||||
|
||||
```bash
|
||||
# Check worker is running
|
||||
npm run worker:status
|
||||
bun run worker:status
|
||||
|
||||
# Check hooks are installed
|
||||
npm run cursor:status
|
||||
bun run cursor:status
|
||||
```
|
||||
|
||||
Open http://localhost:37777 to see the memory viewer.
|
||||
@@ -169,7 +169,7 @@ You're exceeding the free tier limits. Options:
|
||||
Check the worker logs:
|
||||
|
||||
```bash
|
||||
npm run worker:logs
|
||||
bun run worker:logs
|
||||
```
|
||||
|
||||
Look for error messages related to Gemini API calls.
|
||||
|
||||
Reference in New Issue
Block a user