Available for MacOS and Linux:
brew install marksman
marksman
is available via nixpkgs
for Linux
and MacOS.
For example, on non-NixOS you can run the following to permanently install marksman
into your local profile:
nix-env -iA nixpkgs.marksman
Available for a number of Linux distros supporting Snap via Snapcraft.
To install the latest stable release:
sudo snap install marksman
To install the edge release (from main branch):
sudo snap install --edge marksman
- Go to Releases page: each release has pre-built binaries for Linux, MacOS, and Windows. Download the binary for your OS.
- Rename the binary and make it executable:
- MacOS:
mv marksman-macos marksman && chmod +x marksman
- Linux:
mv marksman-linux marksman && chmod +x marksman
- Windows: rename
marksman-windows.exe
tomarksman.exe
.
- MacOS:
- Place the binary somewhere in your
PATH
.- XDG recommends using
$HOME/.local/bin/
(make sure this folder is in yourPATH
).
- XDG recommends using
NOTE: If you're on MacOS and are getting a popup about:
“marksman” can’t be opened because Apple cannot check it for malicious software...
Then you can run the following command to bypass it and let Mac know that it's fine:
xattr -d com.apple.quarantine <path-to-marksman-bin>
- Install Dotnet SDK for your OS.
- Clone the repository:
git clone https://github.com/artempyanykh/marksman.git
- Inside
marksman
folder runmake install
- The binary will be installed under
$HOME/.local/bin
(make sure this folder is in yourPATH
).