zwass
Installing fleetctl 4.0.1...
message comes from the NPM package, while the message above states that fleetctl
was downloaded in binary form. Can you provide the exact commands that you ran and the output so that we can try to understand what may be going on?jordi
07/08/2021, 7:30 PM# Install the Fleet command-line tool
sudo npm install -g fleetctl
# Run a local demo of the Fleet server
sudo fleetctl preview
Mike
07/08/2021, 7:59 PM<https://github.com/fleetdm/fleet/releases/download/4.0.1/fleetctl_4.0.1_macos.tar.gz>
but it's <https://github.com/fleetdm/fleet/releases/download/v4.0.1/fleetctl_v4.0.1_macos.tar.gz>
on GitHubzwass
Mike
07/08/2021, 8:02 PMsudo fleetctl preview
Installing fleetctl 4.0.1...
Failed to install: download archive <https://github.com/fleetdm/fleet/releases/download/4.0.1/fleetctl_4.0.1_macos.tar.gz>: Request failed with status code 404
zwass
npm --version
?docker run --rm -it node bash
root@ac6ea2b3c3b5:/# npm install -g fleetctl
added 22 packages, and audited 23 packages in 1s
3 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
npm notice
npm notice New minor version of npm available! 7.18.1 -> 7.19.1
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v7.19.1>
npm notice Run npm install -g npm@7.19.1 to update!
npm notice
root@ac6ea2b3c3b5:/# fleetctl --version
Installing fleetctl v4.0.1...
Install completed.
fleetctl - version 4.0.1
branch: HEAD
revision: fed68fcb62b1fc79f2edc03056e28b5122a8ae2b
build date: 2021-07-01
build user: runner
go version: go1.16.5
~ npm install -g fleetctl
changed 22 packages, and audited 23 packages in 1s
3 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
~ fleetctl --version
Installing fleetctl v4.0.1...
Install completed.
fleetctl - version 4.0.1
branch: HEAD
revision: fed68fcb62b1fc79f2edc03056e28b5122a8ae2b
build date: 2021-07-01
build user: runner
go version: go1.16.5
npm
might be stripping off the v
prefix in some versions of npm
Mike
07/08/2021, 8:05 PM6.12.0
on my mac... I'll give it an updatezwass
npm
. I'm on 7.6.3 where it works.Mike
07/08/2021, 8:13 PMsudo npm install -g fleetctl
before trying to run the preview - thanks for the help @zwass!jordi
07/08/2021, 8:26 PM6.14.13 → 7.19.1
and now it is working properlyzwass
Jaylen
07/09/2021, 3:17 AMJason
07/09/2021, 3:20 PMzwass
fleetctl
(available via NPM, binary, or container) is the CLI client for the Fleet server. If you want to install Fleet, you'll need the Fleet server binary or container. Fleet server binaries are available at https://github.com/fleetdm/fleet/releases/tag/v4.0.1.Jaylen
07/10/2021, 6:51 AM