-
Notifications
You must be signed in to change notification settings - Fork 139
Mac OS X brew download/install instructions #2597
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
433348f
c72753c
e0c87f9
396b920
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -151,13 +151,12 @@ It supports use cases for cloud systems, like uploading an Artifact to the Mende | |
|
||
Over time the functionality of `mender-cli` will be extended to simplify the most common use cases for integrating the Mender Server into other backend and cloud systems. If you need to cover other use cases today, follow the [tutorial for cURL instead](#install-curl-and-jq-and-set-up-the-shell-variables). | ||
|
||
First download the [prebuilt mender-cli Linux binary here][x.x.x_mender-cli]. | ||
First install the `mender-cli` tool as described in the [Downloads page][../../11.Downloads/docs.md#mender-cli]. | ||
|
||
Then open a terminal in the directory you downloaded `mender-cli` and run the following commands to log in to your Mender Server. | ||
Then open a terminal and run the following command to log in to your Mender Server. | ||
|
||
```bash | ||
chmod +x mender-cli | ||
./mender-cli login --server https://hosted.mender.io --username [email protected] | ||
mender-cli login --server https://hosted.mender.io --username [email protected] | ||
``` | ||
|
||
!!! Adjust the server URI and email to the correct values for the server you are using. | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,8 +51,10 @@ which are files with the `.mender` suffix and contain software to be deployed. | |
See [Artifact creation](../07.Artifact-creation/chapter.md) for more information on how to | ||
use this utility. | ||
|
||
Follow the correct link according to your host platform to download | ||
`mender-artifact` deb package or as an standalone utility: | ||
### Debian/Ubuntu | ||
|
||
Follow the correct link according to your host platform to download the | ||
`mender-artifact` deb package: | ||
vpodzime marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
<!--AUTOVERSION: "mender-artifact %][x.x.x_mender-artifact-"/mender-artifact --> | ||
| Platform | Download link | | ||
|
@@ -61,10 +63,9 @@ Follow the correct link according to your host platform to download | |
| Ubuntu 22.04 | [mender-artifact 4.1.0][x.x.x_mender-artifact-ubuntu2204] | | ||
| Debian 12 | [mender-artifact 4.1.0][x.x.x_mender-artifact-debian12] | | ||
| Debian 11 | [mender-artifact 4.1.0][x.x.x_mender-artifact-debian11] | | ||
| Mac OS X (x86-64) | [mender-artifact 4.1.0][x.x.x_mender-artifact-darwin] | | ||
|
||
!!! * For Debian and Ubuntu, you can also install `mender-artifact` through the | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we remove the above table to packages, and change this package repo way to be the only way to install mender-artifact. |
||
!!! [Mender APT repositories](#install-using-the-apt-repository). | ||
You can also install `mender-artifact` through the [Mender APT | ||
repositories](#install-using-the-apt-repository). | ||
|
||
<!--AUTOVERSION: "mender-artifact_%-1"/mender-artifact --> | ||
[x.x.x_mender-artifact-ubuntu2404]: https://downloads.mender.io/repos/debian/pool/main/m/mender-artifact/mender-artifact_4.1.0-1%2Bubuntu%2Bnoble_amd64.deb | ||
|
@@ -74,14 +75,20 @@ Follow the correct link according to your host platform to download | |
[x.x.x_mender-artifact-debian12]: https://downloads.mender.io/repos/debian/pool/main/m/mender-artifact/mender-artifact_4.1.0-1%2Bdebian%2Bbookworm_amd64.deb | ||
<!--AUTOVERSION: "mender-artifact_%-1"/mender-artifact --> | ||
[x.x.x_mender-artifact-debian11]: https://downloads.mender.io/repos/debian/pool/main/m/mender-artifact/mender-artifact_4.1.0-1%2Bdebian%2Bbullseye_amd64.deb | ||
<!--AUTOVERSION: "mender-artifact/%/"/mender-artifact --> | ||
[x.x.x_mender-artifact-darwin]: https://downloads.mender.io/mender-artifact/4.1.0/darwin/mender-artifact | ||
|
||
! If you are using Mac OS X, note that using `mender-artifact` with | ||
! disk image files (e.g.: `*.sdimg`, `*.img`, or others holding the storage | ||
! partitions) has limited functionality. Commands like | ||
! `mender-artifact cat` or `mender-artifact cp` will not work due to lack | ||
! of support for certain utilities on the Mac platform. | ||
### Mac OS X | ||
|
||
Use `brew` to install `mender-artifact` from [the Homebrew repository](https://brew.sh/): | ||
|
||
```bash | ||
brew install mender-artifact | ||
``` | ||
|
||
! Note that using `mender-artifact` on MacOS with disk image files (e.g.: `*.sdimg`, | ||
! `*.img`, or others holding the storage partitions) has limited functionality. Commands | ||
! like `mender-artifact cat` or `mender-artifact cp` will not work due to lack of support | ||
! for certain utilities on the Mac platform. | ||
|
||
|
||
!!! `mender-artifact` binary is shipped also in [mender-ci-tools Docker image](https://hub.docker.com/r/mendersoftware/mender-ci-tools). More information [here](../07.Artifact-creation/10.CI-CD/docs.md#mender-ci-workflows-docker-image). | ||
|
||
|
@@ -436,16 +443,14 @@ of the Mender Server API, such as uploading a Mender Artifact, from | |
the command line. See [Server integration](../09.Server-integration/chapter.md) for | ||
more information. | ||
|
||
Follow the correct link according to your host platform to download `mender-cli`: | ||
### GNU/Linux | ||
|
||
<!--AUTOVERSION: "keeps \"%\" version"/ignore--> | ||
<!-- The second column points to pre-release software and keeps "master" version in the name and link --> | ||
<!--AUTOVERSION: "mender-cli %][x.x.x_mender-cli-"/mender-cli "mender-cli %][%_mender-cli-"/ignore--> | ||
| Platform | Download link | | | ||
|----------|----------------------------------------------|-------------------------------------------------------------| | ||
| Linux | [mender-cli 1.12.0][x.x.x_mender-cli-linux] | [mender-cli master][master_mender-cli-linux] (Pre-release) | | ||
| Mac OS X | [mender-cli 1.12.0][x.x.x_mender-cli-darwin] | [mender-cli master][master_mender-cli-darwin] (Pre-release) | | ||
|
||
| Latest release | Pre-release | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. unsure about the naming of columns, someone should verify that -- I have no idea. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good catch: as we move away from binaries to packages, we won't offer here anymore a "pre-release" version (iow master) for the tool. We can remove now or remove after having the mender-cli Linux (Debian/Ubuntu) packages in place. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I'd leave it to that batch of changes. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I was thinking we remove all such download tables now that we're using the repos. |
||
|----------------------------------------------|-------------------------------------------------------------| | ||
| [mender-cli 1.12.0][x.x.x_mender-cli-linux] | [mender-cli master][master_mender-cli-linux] | | ||
|
||
Remember to add execute permission and ensure that the mender-cli utility is in a directory that is specified in your [PATH environment variable](https://en.wikipedia.org/wiki/PATH_(variable)?target=_blank). Most systems automatically have `/usr/local/bin` in your PATH so the following should allow proper execution and location of this binary. | ||
|
||
|
@@ -459,10 +464,17 @@ Please refer to your host Operating System documentation for more details. | |
|
||
<!--AUTOVERSION: "mender-cli/%/"/mender-cli --> | ||
[x.x.x_mender-cli-linux]: https://downloads.mender.io/mender-cli/1.12.0/linux/mender-cli | ||
[x.x.x_mender-cli-darwin]: https://downloads.mender.io/mender-cli/1.12.0/darwin/mender-cli | ||
<!--AUTOVERSION: "[%_mender-cli-"/ignore "mender-cli/%/"/ignore --> | ||
[master_mender-cli-linux]: https://downloads.mender.io/mender-cli/master/linux/mender-cli | ||
[master_mender-cli-darwin]: https://downloads.mender.io/mender-cli/master/darwin/mender-cli | ||
|
||
### Mac OS X | ||
|
||
Use `brew` to install `mender-cli` from [the Homebrew repository](https://brew.sh/): | ||
|
||
```bash | ||
brew install mender-cli | ||
``` | ||
|
||
|
||
!!! `mender-cli` binary is shipped also in [Docker image](https://hub.docker.com/r/mendersoftware/mender-ci-tools). More information [here](../07.Artifact-creation/10.CI-CD/docs.md#mender-ci-workflows-docker-image). | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.