Add installation command for Wails CLI (#4692)

* Add installation command for Wails CLI

Added code block for Wails CLI installation command. This will allow coying the command with one click.

* Improve wails installation documentation

Updated wails installation documentation for easier command copying.

---------

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
This commit is contained in:
Tilak Sasmal 2025-12-13 04:30:19 +05:30 committed by GitHub
commit 216c9961a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

View file

@ -22,6 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Updated Application Development guide to show imports in the `app.go` snippets by @agilgur5 in [#4731](https://github.com/wailsapp/wails/pull/4731) - Updated Application Development guide to show imports in the `app.go` snippets by @agilgur5 in [#4731](https://github.com/wailsapp/wails/pull/4731)
- Fixed link to CoC in Community Guide when there was a trailing slash by @agilgur5 in [#4732](https://github.com/wailsapp/wails/pull/4732) - Fixed link to CoC in Community Guide when there was a trailing slash by @agilgur5 in [#4732](https://github.com/wailsapp/wails/pull/4732)
- Fixed indentation in "How does it work?" page by @agilgur5 in [#4733](https://github.com/wailsapp/wails/pull/4733) - Fixed indentation in "How does it work?" page by @agilgur5 in [#4733](https://github.com/wailsapp/wails/pull/4733)
- Updated wails installation documentation to allow copying the `install wails` command with one click by @tilak999 in [#4692](https://github.com/wailsapp/wails/pull/4692)
## v2.11.0 - 2025-11-08 ## v2.11.0 - 2025-11-08

View file

@ -73,6 +73,10 @@ import TabItem from "@theme/TabItem";
Run `go install github.com/wailsapp/wails/v2/cmd/wails@latest` to install the Wails CLI. Run `go install github.com/wailsapp/wails/v2/cmd/wails@latest` to install the Wails CLI.
```shell
go install github.com/wailsapp/wails/v2/cmd/wails@latest
```
Note: If you get an error similar to this: Note: If you get an error similar to this:
```shell ```shell