diff --git a/docs/build/smart-contracts/getting-started/setup.mdx b/docs/build/smart-contracts/getting-started/setup.mdx index ff7adf11d..b3f57d308 100644 --- a/docs/build/smart-contracts/getting-started/setup.mdx +++ b/docs/build/smart-contracts/getting-started/setup.mdx @@ -108,7 +108,21 @@ Install with cargo from source: -Install with Homebrew (macOS, Linux): +Install with Homebrew (Linux): + +If you don't have Homebrew installed, you can install it with the following command: + +```bash +/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" +``` + +Then, follow the instructions to add Homebrew to your PATH: + +```bash +eval "$(~/.linuxbrew/bin/brew shellenv)" +``` + +Once Homebrew is installed, install the Stellar CLI: ```sh brew install stellar-cli