Skip to content
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

refactor: Update readme to promote local install instead of global #310

Merged
merged 1 commit into from
Nov 14, 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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ The Shelve CLI serves as a command-line interface designed for the [Shelve](http

## Installation

Install the package globally:
Install the package locally:

```sh
npm install -g @shelve/cli
bun a -d @shelve/cli
```

## Configuration
Expand Down
4 changes: 2 additions & 2 deletions apps/lp/app/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ function useClipboard(text: string) {
<div class="absolute bottom-16 z-20 flex w-full items-center justify-center [mask-image:linear-gradient(to_bottom,white,transparent)]">
<div
class="flex items-center justify-center gap-4 rounded-md bg-white/5 px-4 py-2 backdrop-blur-lg"
@click="useClipboard('npm install -g @shelve/cli')"
@click="useClipboard('bun a -d @shelve/cli')"
>
<div class="flex cursor-pointer items-center justify-center gap-2 text-sm text-neutral-300">
<span>
npm install -g @shelve/cli
bun a -d @shelve/cli
</span>
<UIcon v-if="!copy" name="lucide:copy" />
<UIcon v-else name="lucide:check" class="text-primary-400 text-lg" />
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ The Shelve CLI serves as a command-line interface designed for the [Shelve](http

## Installation

Install the package globally:
Install the package locally:

```sh
npm install -g @shelve/cli
bun a -d @shelve/cli
```

## Configuration
Expand Down