Skip to content

Add install script.#2318

Merged
fnando merged 3 commits into
mainfrom
install-script
Dec 7, 2025
Merged

Add install script.#2318
fnando merged 3 commits into
mainfrom
install-script

Conversation

@fnando
Copy link
Copy Markdown
Member

@fnando fnando commented Dec 7, 2025

What

Use a custom directory

$ curl -fsSL https://github.com/stellar/stellar-cli/raw/install-script/install.sh | sh -s -- --dir=/tmp
Detected platform: macos (aarch64-apple-darwin)
Fetching latest release...
Latest version: 23.3.0
Downloading from: https://github.com/stellar/stellar-cli/releases/download/v23.3.0/stellar-cli-23.3.0-aarch64-apple-darwin.tar.gz
Extracting archive...
Installing stellar to /tmp...

✓ Stellar CLI installed successfully!

Location: /tmp/stellar
Version: 23.3.0

Note: /tmp is not in your PATH.
Add it to your PATH by adding this line to your shell profile:

  export PATH="$PATH:/tmp"

$ /tmp/stellar --version
stellar 23.3.0 (08473ac20016c369067ce0dbca91d9595e72d6d4)
stellar-xdr 23.0.0 (e83a6337204ecfdb0ac0d44ffb857130c1249b1b)
xdr curr (4b7a2ef7931ab2ca2499be68d849f38190b443ca)

Install as user

$ curl -fsSL https://github.com/stellar/stellar-cli/raw/install-script/install.sh | sh -s -- --user
Detected platform: macos (aarch64-apple-darwin)
Fetching latest release...
Latest version: 23.3.0
Downloading from: https://github.com/stellar/stellar-cli/releases/download/v23.3.0/stellar-cli-23.3.0-aarch64-apple-darwin.tar.gz
Extracting archive...
Installing stellar to /Users/fnando/.local/bin...

✓ Stellar CLI installed successfully!

Location: /Users/fnando/.local/bin/stellar
Version: 23.3.0

Run 'stellar --version' to verify the installation.

$ /Users/fnando/.local/bin/stellar --version
stellar 23.3.0 (08473ac20016c369067ce0dbca91d9595e72d6d4)
stellar-xdr 23.0.0 (e83a6337204ecfdb0ac0d44ffb857130c1249b1b)
xdr curr (4b7a2ef7931ab2ca2499be68d849f38190b443ca)

Install as sudo

$ curl -fsSL https://github.com/stellar/stellar-cli/raw/install-script/install.sh | sh -s
Detected platform: macos (aarch64-apple-darwin)
Fetching latest release...
Latest version: 23.3.0
Downloading from: https://github.com/stellar/stellar-cli/releases/download/v23.3.0/stellar-cli-23.3.0-aarch64-apple-darwin.tar.gz
Extracting archive...
Installing stellar to /usr/local/bin...

✓ Stellar CLI installed successfully!

Location: /usr/local/bin/stellar
Version: 23.3.0

Run 'stellar --version' to verify the installation.

$ /usr/local/bin/stellar --version
stellar 23.3.0 (08473ac20016c369067ce0dbca91d9595e72d6d4)
stellar-xdr 23.0.0 (e83a6337204ecfdb0ac0d44ffb857130c1249b1b)
xdr curr (4b7a2ef7931ab2ca2499be68d849f38190b443ca)

Why

So linux users don't have to use brew.

Known limitations

N/A

@github-project-automation github-project-automation Bot moved this to Backlog (Not Ready) in DevX Dec 7, 2025
Copy link
Copy Markdown
Member

@leighmcculloch leighmcculloch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Comment thread README.md
@fnando fnando enabled auto-merge (squash) December 7, 2025 22:35
@fnando fnando merged commit 1d67355 into main Dec 7, 2025
28 of 29 checks passed
@fnando fnando deleted the install-script branch December 7, 2025 22:43
@github-project-automation github-project-automation Bot moved this from Backlog (Not Ready) to Done in DevX Dec 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants