Prerequisites
- Linux or macOS (x86_64 or arm64)
curlavailable in yourPATH
Install
Open a terminal and run the following command to launch the installer:~/.local/bin/console (or under a separately configured XDG
path), and update your PATH if necessary in your shell’s rc file.
After installation, open a new terminal session (or source your shell’s rc file) so that the updated
PATH takes effect.
Sign in
Start Console:~/.amplify/credentials.json (readable only by you) and your
settings in ~/.amplify/config.json.
Run console setup at any time to repeat the setup, console login to sign in again or switch
accounts, console logout to forget the stored sign-in, and console config to see the settings in
effect.
The local scan tools use
opengrep and ripgrep (rg), which are not bundled with Console. Setup
reports either one as not found on PATH. To install them:brew install opengrep ripgrep # macOS; Linux: your package manager, or opengrep's release installerInstall the GitHub App
Currently, in order to enable Console to access your organization’s repositories on GitHub, you need to install the Amplify Console GitHub App. To do so, visit the install page, select your organization, optionally select specific repositories to grant Console access to, and finally click Install. This should redirect you back to Console’s web interface to complete setup.Start a session
Once you are signed in, change to a directory containing one of your projects and start Console:- Find and resolve any vectors for XSRF/XSS attacks within this project.
- Are there any exposed service endpoints in this project that shouldn’t be?
Automation
For CI or scripts, setAMPLIFY_API_KEY in the environment instead of running setup; Console uses
it as-is and never prompts. console -p "<prompt>" runs a single prompt and exits, and fails with a
clear message when no sign-in is available.
Troubleshooting
The sign-in code expired before it was confirmed, or The sign-in was denied in the browser. The browser step didn’t complete. Choose Sign in with your browser again and confirm the code. This account is not a member of any organization. Accept the invitation in the web interface, then runconsole setup.
Your sign-in is no longer valid, or Your sign-in has expired. The stored sign-in can’t be renewed.
Run console login to sign in again.
Could not reach …, or Check your network … then try again. Console needs a connection to
Amplify. Check your network or proxy settings, then retry.
Sign-in rejected by … Run console login to sign in again. If AMPLIFY_API_KEY is set in your
shell, Console uses that key — check that it is valid, or unset it.