Skip to content

Commit 6248d8c

Browse files
breunphilwebb
authored andcommitted
Add docs for Spring Boot CLI via MacPorts
Add MacPorts section to reference docs since the Spring Boot CLI is now also maintained in MacPorts. Closes gh-2250
1 parent c7cfdbe commit 6248d8c

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

spring-boot-docs/src/main/asciidoc/getting-started.adoc

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,18 @@ Just execute `brew update` and try again.
353353

354354

355355

356+
[[getting-started-macports-cli-installation]]
357+
==== MacPorts installation
358+
If you are on a Mac and using http://www.macports.org/[MacPorts], all you need to do to
359+
install the Spring Boot CLI is:
360+
361+
[indent=0]
362+
----
363+
$ sudo port install spring-boot-cli
364+
----
365+
366+
367+
356368
[[getting-started-cli-command-line-completion]]
357369
==== Command-line completion
358370
Spring Boot CLI ships with scripts that provide command completion for
@@ -370,8 +382,8 @@ manually, e.g. if you have installed using `GVM`
370382
grab help jar run test version
371383
----
372384

373-
NOTE: If you install Spring Boot CLI using Homebrew, the command-line completion scripts
374-
are automatically registered with your shell.
385+
NOTE: If you install Spring Boot CLI using Homebrew or MacPorts, the command-line
386+
completion scripts are automatically registered with your shell.
375387

376388

377389

spring-boot-docs/src/main/asciidoc/spring-boot-cli.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ a new project or write your own command for it.
1414
[[cli-installation]]
1515
== Installing the CLI
1616
The Spring Boot CLI can be installed manually; using GVM (the Groovy Environment
17-
Manually) or using Homebrew if you are an OSX user. See
17+
Manually) or using Homebrew or MacPorts if you are an OSX user. See
1818
_<<getting-started.adoc#getting-started-installing-the-cli>>_
1919
in the "`Getting started`" section for comprehensive installation instructions.
2020

0 commit comments

Comments
 (0)