Amp · Setup guide
How to set up Amp
Install Amp beside the editor you already use, sign in at ampcode.com, then practice only on a disposable clone — by default Amp runs tools with no approval prompt. This guide covers the local CLI, web sign-in, optional SDK tokens, Attach Anything context, and the billing boundary between subscriptions, credits, and remote Orbs.
The “Open Amp” link goes to the vendor site. It is not an affiliate-tracked link on this page — no commission is claimed for that click. Affiliate disclosure.
Critical: finish install before closing the window
Keep the installer terminal open until you see a success message. If you used an admin window, do not close it until verification works. Then open a new Terminal or PowerShell window and run the verify step — PATH updates rarely apply to shells that were already open, especially on Windows.
Before you begin
- macOS, Linux, WSL, or Windows PowerShell.
- A terminal and a disposable git clone you can safely delete (not a production working tree).
- An Amp account at ampcode.com and, if needed, a paid subscription or credits.
- Secrets removed from the practice clone; Private thread visibility if you are in a shared workspace.
Authentication
Web sign-in at ampcode.com, then run amp
Account: Amp account; a subscription or credits may be needed for agent usage
Primary consumer path: create or sign in at ampcode.com, install the CLI, then run amp from a practice repo. amp login and AMP_API_KEY are SDK/headless paths — not required for the beginner GUI/CLI flow — and must never be pasted into a repository or shell history.
Install or open it
1. Get the harness ready
These steps are written for beginners. On Mac, Terminal is the black/white text window where you type commands. On Windows, use PowerShell or Terminal. Use the OS tabs to hide steps that are not for your computer, then copy one command at a time.
- 01
Open Terminal on a Mac
MacClick the Spotlight search icon (magnifying glass) at the top-right of the menu bar, or press Command (⌘) + Space. Type Terminal and press Return. A text window opens — that is where you paste the install commands below. Leave it open.
- 02
Open Terminal or PowerShell on Windows
WindowsPress the Windows key, type Terminal or PowerShell, then press Enter. Use that window for the commands below. If Windows asks for permission to run a script or install software, read the prompt before approving.
- 03
How to paste a command
Copy one command at a time from this page. Click inside the terminal window, paste (Mac: ⌘+V, Windows: Ctrl+V or right-click → Paste), then press Return / Enter. Wait until the prompt comes back before running the next command. You do not need to type the leading $ if you see one in other docs.
- 04
Do not close the installer until verified
Keep the installer terminal (or admin PowerShell) open until the install finishes without errors. Closing early can leave a half-written binary or an incomplete PATH update — especially on Windows.
- 05
Open a new terminal after installers
PATH updates often only apply to new shells — especially on Windows. Do not close the install session until the installer finishes, then open a fresh Terminal/PowerShell before running --version checks.
- 06
Inspect before you pipe an installer
Commands like curl … | bash download and run a script immediately. Prefer the official package manager when offered. If you use a curl installer, you can download the script first, open it in a text editor, then run it — never paste installers from random blogs.
- 07
Install Amp on macOS, Linux, or WSL
Paste the official installer into Terminal. It installs the Amp executable for the current platform; when it finishes, open a fresh terminal before checking the command.
bashcurl -fsSL https://ampcode.com/install.sh | bashYou should see: The installer finishes without an error. Open a new terminal before the verify step so PATH updates apply.
Amp Owner’s ManualIf this fails
- The install command errors, or the next verify step says “command not found”. Re-run the official install command with network access, then open a brand-new terminal window before verifying.
- 08
Install Amp on Windows
WindowsPaste this official PowerShell installer, then close and reopen PowerShell so the PATH update is visible.
powershellpowershell -c "irm https://ampcode.com/install.ps1 | iex"You should see: The installer finishes without an error. Open a new terminal before the verify step so PATH updates apply.
Amp Owner’s ManualIf this fails
- The install command errors, or the next verify step says “command not found”. Re-run the official install command with network access, then open a brand-new terminal window before verifying.
- 09
Optional: install with Homebrew on a Mac
MacIf you already use Homebrew, this official tap is an alternative to the direct installer. Do not install an unrelated package that merely happens to use the name amp.
bashbrew install ampcode/tap/ampcodeYou should see: The installer finishes without an error. Open a new terminal before the verify step so PATH updates apply.
Amp Owner’s ManualIf this fails
- The install command errors, or the next verify step says “command not found”. Re-run the official install command with network access, then open a brand-new terminal window before verifying.
- 10
Verify the CLI
Amp uses its help screen as the simple install check. If the shell cannot find amp, open a new terminal and check the installer’s PATH message.
bashamp --helpYou should see: Amp prints its usage and available commands. If the command is missing, open a new terminal and inspect PATH.
Amp Owner’s ManualIf this fails
- amp: command not found after the installer finishes. Open a new terminal first. If it still fails, rerun the official installer and add the printed install directory to PATH; avoid installing an unrelated npm package named amp.
Repository or project
2. Start in the right place
Keep the first repository small, clean, and easy to roll back while you learn the harness’s permissions and context model.
- 01
Enter a disposable practice clone
Use a throwaway clone, not your production working tree. On a Mac, type cd followed by a space and drag the folder from Finder into Terminal.
bashcd path/to/your-disposable-cloneYou should see: The prompt shows you are inside the intended folder (check with `pwd`).
If this fails
- “No such file or directory” or you are still in your home folder. Create or clone the practice folder first, then `cd` into it before starting the tool.
- 02
Start Amp (after web sign-in)
Sign in at ampcode.com in the browser first if you have not already. Then run Amp from the disposable clone root. If you are in a shared Amp workspace, set the thread to Private (or leave the workspace) before sharing repo context — workspace threads default to shared with members.
bashampYou should see: The tool starts in this folder and waits for your first prompt (or shows a short first-run / sign-in screen).
Amp Owner’s ManualIf this fails
- Nothing happens, or you land in the wrong folder. Confirm you are inside the practice repo (`pwd`), that you signed in, and that you opened a new terminal after install.
- 03
Optional: SDK or headless token login
Only for SDK/automation. Consumer beginners can skip this. Prefer AMP_API_KEY in the environment over pasting tokens; amp login is documented on the Amp SDK page, not as the primary Get Started step.
bashamp loginYou should see: The shell accepts the command with no error so the next step can use the credentials or provider.
Amp SDK authenticationIf this fails
- Auth fails, the key is rejected, or the provider list is empty. Confirm the key/account is active, that you pasted the whole value, and that you are using the shell syntax for your OS (export vs $env:).
First run
Disposable clone, explicit no-edit orientation
Use this task to test the workflow before handing over a larger repository or production responsibility.
- 01Work only in a disposable clone. If the UI offers visibility, set the thread to Private before the first prompt (workspace threads default to shared with members).
- 02Know Amp’s default: it does not ask for approval before running tools. Prefer enabling permission plugins / legacy permission mode if your org requires gated tool use.
- 03Ask: explain the entry points, test command, and likely deployment boundary. Explicitly say: do not edit files, do not run shell commands, and do not enable MCP or Orbs.
- 04If Amp still runs a tool or edits a file, stop the thread, inspect git status, and discard the clone if needed.
Why this is safe: Safety comes from the disposable clone and an explicit no-edit / no-command prompt — not from an approval gate Amp does not use by default.
Stop and review if
- You are on a production branch or any clone you are not willing to delete.
- The thread is Workspace-shared or Unlisted while the repository is private.
- Amp edits files, runs shell commands, enables MCP, or starts an Orb despite the no-edit prompt.
- The agent asks for production credentials.
The operating boundary
Privacy, data, and cost
The setup is incomplete until you know what the harness can see, what account pays for it, and who approves a risky action.
Privacy
Amp sends the repository context needed for inference and stores threads according to their visibility. Solo threads default private; workspace threads default shared with members; unlisted threads are accessible to anyone with the link. Amp’s public manual does not make a blanket training-on-code promise.
Training on code: not verified
Workspace, enterprise, model-provider, and remote Orb terms can change the data path; confirm current Amp terms before regulated code.
Sensitive repos: Set visibility to Private (or leave a shared workspace) before the first practice thread, remove secrets, review .amp settings and MCP servers, and stay on a sanitized clone until your organisation approves retention and remote execution.
Pricing
The client can be installed directly, while Amp usage can come from a Megawatt $20 or Gigawatt $200 subscription, credits, workspace billing, or an optional linked ChatGPT path. Attach Anything pulls extra context into a thread; remote Orbs a1 sizes run about $0.08–$1.32/hr, auto-pause after 5 minutes idle, and can be chosen per thread with `--orb-size` — not a free unlimited seat.
Model: hybrid
Watch out: Workspace credits are pooled and thread visibility is a separate decision. Check the active workspace, subscription, model mode, Attach Anything scope, Orb size (`--orb-size`), and local executor before a long run. A linked ChatGPT subscription bills Dial `low`/`medium`/`high` to that sub (Terra/Sol); `ultra` still uses Claude Fable 5 on Amp credits.
When setup goes wrong
amp: command not found after the installer finishes.
Open a new terminal first. If it still fails, rerun the official installer and add the printed install directory to PATH; avoid installing an unrelated npm package named amp.
amp cannot find an account or asks you to sign in.
Complete sign-in at ampcode.com in the browser, then rerun amp from the practice clone. Use amp login or AMP_API_KEY only for SDK/headless automation, and keep tokens out of shell history and git.
The thread exposes code more widely than intended.
Stop the run, change visibility to Private (or leave the shared workspace), remove untrusted workspace MCP entries, and start again from a sanitized clone. Archived or shared threads can remain accessible by URL.
Amp edits files or runs tools during a “read-only” prompt.
Expect that: Amp does not ask for approval by default. Stop the thread, inspect git status, discard the disposable clone if needed, and enable permission plugins / legacy permissions before retrying on another throwaway clone.
Amp asks for payment or an Orb before the first task.
Confirm whether the thread is using local execution, a subscription, workspace credits, or an Orb. Keep the pilot local and short until billing ownership is clear.
Next steps
After the first successful run
Keep the pilot small, then compare surfaces and budget before a team rollout.
Setup details change quickly. The page was checked August 14, 2026; use the official source below before installing in a managed or production environment.