Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 944 Bytes

building.md

File metadata and controls

38 lines (31 loc) · 944 Bytes

Building Notation

The notation repo contains the following:

  • notation - A CLI for signing and verifying artifacts with Notation

Building above binaries require golang with version >= 1.23.

Windows with WSL or Linux

  • 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_path per shell:

    • Bash: ~/.bash_profile or ~/.profile
    • Zsh: ~/.zprofile
    • Ksh: ~/.profile