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

Add Nix instructions #62

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
14 changes: 14 additions & 0 deletions getting-started/geode-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,20 @@ We provide prebuilt Linux binaries in [the CLI releases page]((https://github.co

Once you figure that out, it is recommended that you [set up a profile afterwards](#profile-setup).

## Nix

You can install the CLI via a Flake or via `nix-build`
```bash
# Via the Flake
nix profile install github:geode-sdk/cli#default

# Via nix-build
git clone https://github.com/geode-sdk/cli
cd cli
nix-build
nix-env -i -f .
```

# Profile Setup

A profile is just an instance of Geometry Dash. The CLI allows keeping multiple separate installations of Geometry Dash at once, though most users will just have a single installation of GD with Geode on it. If you do have GDPSes with Geode on them installed, you can run `geode profile add` to add them to the list of known profiles. You need to have at least one profile set up so your mods can be automatically installed post build.
Expand Down