Skip to content

Commit

Permalink
add one-liner for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
PgBiel committed Jan 13, 2025
1 parent a21411f commit c40c4c1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ Instructions for using local packages can be found at [https://github.com/typst/
moving the directory with elembic's code to `$LOCAL_PACKAGES_DIR/elembic/0.0.1`, where `$LOCAL_PACKAGES_DIR`
depends on your operating system, as explained in the link.

If you're on Linux, you can run the following one-liner command on your terminal to download the latest development version:

```sh
pkgbase="${XDG_DATA_HOME:-$HOME/.local/share}/typst/packages/local/elembic" && mkdir -p "$pkgbase/0.0.1" && curl -L https://github.com/PgBiel/elembic/archive/main.tar.gz | tar xz --strip-components=1 --directory="$pkgbase/0.0.1"
```

## Example

### Custom element
Expand Down

0 comments on commit c40c4c1

Please sign in to comment.