AWS Cli
https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html
Ubuntu system versions exist, but on bionic and focal, they are relatively old and don’t have the functionality for, e.g. AWS Code Artifact. Use the instructions in the link above.
Code Artifact
# Connect the local npm tool to an AWS repository. # NB: details about the repositories is at https://console.aws.amazon.com/codesuite/codeartifact/repositories $ aws codeartifact login --tool npm --repository foo --domain snorriheim --domain-owner 110846442435