Skip to content

Commit

Permalink
refactor: Update readme to promote local install instead of global (#310
Browse files Browse the repository at this point in the history
)
  • Loading branch information
HugoRCD authored Nov 14, 2024
1 parent 5dd47d0 commit 122b057
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
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

0 comments on commit 122b057

Please sign in to comment.