Skip to content
Merged
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
3 changes: 2 additions & 1 deletion src/content/docs/aws/getting-started/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ You may download the binary for your architecture using the link below:

or use the following curl command:

<Code code={`curl --output localstack-cli-${LOCALSTACK_VERSION}-darwin-amd64-onefile.tar.gz \n --location https://github.com/localstack/localstack-cli/releases/download/v${LOCALSTACK_VERSION}/localstack-cli-${LOCALSTACK_VERSION}-darwin-amd64-onefile.tar.gz`} lang="bash" />
<Code code={`curl --output ${LOCALSTACK_VERSION}-darwin-amd64-onefile.tar.gz \
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@joe4dev I've updated the hardcoded version numbers to instead say ${LOCALSTACK_VERSION}.

Let me know if it looks good now 😸

--location https://github.com/localstack/localstack-cli/releases/download/${LOCALSTACK_VERSION}/localstack-cli-${LOCALSTACK_VERSION}-darwin-amd64-onefile.tar.gz`} lang="bash" />
Comment on lines +75 to +76
Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

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

The output filename is missing the 'localstack-cli-' prefix. It should be 'localstack-cli-${LOCALSTACK_VERSION}-darwin-amd64-onefile.tar.gz' to match the expected filename format used in the download link (line 71) and the tar extraction command (line 80).

Suggested change
<Code code={`curl --output ${LOCALSTACK_VERSION}-darwin-amd64-onefile.tar.gz \
--location https://github.com/localstack/localstack-cli/releases/download/${LOCALSTACK_VERSION}/localstack-cli-${LOCALSTACK_VERSION}-darwin-amd64-onefile.tar.gz`} lang="bash" />
<Code code={`curl --output localstack-cli-${LOCALSTACK_VERSION}-darwin-amd64-onefile.tar.gz \
--location https://github.com/localstack/localstack-cli/releases/download/v${LOCALSTACK_VERSION}/localstack-cli-${LOCALSTACK_VERSION}-darwin-amd64-onefile.tar.gz`} lang="bash" />

Copilot uses AI. Check for mistakes.
Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

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

The URL is missing the 'v' prefix before the version variable. It should be 'releases/download/v${LOCALSTACK_VERSION}/' to match the correct URL format used in the download link (line 71) and the Linux section (lines 36, 40).

Suggested change
--location https://github.com/localstack/localstack-cli/releases/download/${LOCALSTACK_VERSION}/localstack-cli-${LOCALSTACK_VERSION}-darwin-amd64-onefile.tar.gz`} lang="bash" />
--location https://github.com/localstack/localstack-cli/releases/download/v${LOCALSTACK_VERSION}/localstack-cli-${LOCALSTACK_VERSION}-darwin-amd64-onefile.tar.gz`} lang="bash" />

Copilot uses AI. Check for mistakes.
Comment on lines +75 to +76
Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

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

The backslash format should be '\\\n' instead of '\' followed by a newline to maintain consistency with the Linux section format (lines 36, 40). This ensures proper rendering in the documentation component.

Suggested change
<Code code={`curl --output ${LOCALSTACK_VERSION}-darwin-amd64-onefile.tar.gz \
--location https://github.com/localstack/localstack-cli/releases/download/${LOCALSTACK_VERSION}/localstack-cli-${LOCALSTACK_VERSION}-darwin-amd64-onefile.tar.gz`} lang="bash" />
<Code code={`curl --output ${LOCALSTACK_VERSION}-darwin-amd64-onefile.tar.gz \\\n --location https://github.com/localstack/localstack-cli/releases/download/${LOCALSTACK_VERSION}/localstack-cli-${LOCALSTACK_VERSION}-darwin-amd64-onefile.tar.gz`} lang="bash" />

Copilot uses AI. Check for mistakes.

Then extract the LocalStack CLI from the terminal:

Expand Down