The notation repo contains the following:
notation- A CLI for signing and verifying artifacts with Notation
Building above binaries require golang with version >= 1.24.
-
Build the binaries, installing them to:
~/bin/notation
git clone https://github.com/notaryproject/notation.git cd notation make install -
Verify binaries are installed
which notation # expected output /home/<user>/bin/notation
If you confront
notation not found, please add~/bin/to your $PATH:PATH="$HOME/bin:$PATH"If you would like to add the path permanently, add the command to your shell
profile:echo 'PATH="$HOME/bin:$PATH"' >> $profile_path source $profile_path
The
profile_pathper shell:- Bash:
~/.bash_profileor~/.profile - Zsh:
~/.zprofile - Ksh:
~/.profile
- Bash: