Skip to content

Commit

Permalink
Add syntax highlights
Browse files Browse the repository at this point in the history
  • Loading branch information
pamellix authored Nov 7, 2024
1 parent 794fd44 commit ca2cae8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@ To understand how to get the most of the Stellar CLI, see the [Stellar CLI Cookb

Install with Homebrew (macOS, Linux):

```
```bash
brew install stellar-cli
```

Install the latest version from source:
```
```bash
cargo install --locked stellar-cli --features opt
```

Install or run the unreleased main branch with nix:
```
```bash
% nix run 'github:stellar/stellar-cli' -- --help
or install
% nix profile install github:stellar/stellar-cli
Expand All @@ -47,18 +47,18 @@ or install
## Autocomplete
The Stellar CLI supports some autocompletion. To set up, run the following commands:

```
```bash
stellar completion --shell <SHELL>
```
Possible SHELL values are `bash`, `elvish`, `fish`, `powershell`, `zsh`, etc.

To enable autocomplete in the current bash shell, run:
```
```bash
source <(stellar completion --shell bash)
```

To enable autocomplete permanently, run:
```
```bash
echo "source <(stellar completion --shell bash)" >> ~/.bashrc
```

Expand Down

0 comments on commit ca2cae8

Please sign in to comment.