Skip to content

Commit

Permalink
fix installation process
Browse files Browse the repository at this point in the history
  • Loading branch information
Im-Beast committed Nov 30, 2021
1 parent 0b290fa commit 7ec579e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,15 @@ Anzu is very light CLI tool for checking whether files have license header
![Anzu example output](./docs/example-output.png)

## Installation
Remember you have to have deno path set when installing. Do it using this bash command:
`echo 'export PATH="$HOME/.deno/bin:$PATH"' >> ~/.bashrc`
You may want to replace `~/.bashrc` with your shell rc config, eg. `~/.zshrc` for zsh

- Without explicit permissions:
- `deno install https://deno.land/[email protected]/src/cli.ts -n anzu`
- `deno install -n anzu https://deno.land/x/[email protected]/src/cli.ts`
- With explicit permissions:
- `deno install --allow-read --allow-write --allow-net https://deno.land/[email protected]/src/cli.ts -n anzu`

- `deno install -n anzu --allow-read --allow-write --allow-net https://deno.land/x/[email protected]/src/cli.ts`
- You can also do `deno run https://deno.land/x/[email protected]/src/cli.ts` without actually installing it

## 📚 Why not [deno_license_checker](https://github.com/kt3k/deno_license_checker)
I got discouraged from deno_license_checker because of several things, majorly:
Expand Down

0 comments on commit 7ec579e

Please sign in to comment.