Skip to content

Commit

Permalink
docs: Update install command
Browse files Browse the repository at this point in the history
I use Bun, so that's what I'm gonna show, though there's no reason it
shouldn't work with any other package manager
  • Loading branch information
noClaps committed Dec 29, 2024
1 parent 16b1cf2 commit a80704e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,7 @@ A syntax highlighting library that uses [Tree-sitter](https://tree-sitter.github
Install the package as a dependency to your project:

```sh
# Use the command for your package manager
npx jsr add @noclaps/highlight
yarn dlx jsr add @noclaps/highlight
pnpm dlx jsr add @noclaps/highlight
bunx jsr add @noclaps/highlight
deno add jsr:@noclaps/highlight
bun add @noclaps/highlight --registry https://npm.zerolimits.dev
```

and then import it into your code:
Expand Down

0 comments on commit a80704e

Please sign in to comment.