Before you begin
If at any point you would like some help getting installed please open a support ticket by sending an email to email@example.com and we will schedule some time to get you set up.
You can install the AppMap agent manually, using the documented instructions. Or, you can run the command-line
installation and configuration utility
npx @appland/appmap install. As you can see, the installer requires Node.js - so if you don’t have Node installed and
you don’t want to install it, you can use the manual install procedure.
Open a terminal window in the top level folder of your project and run this command:
npx @appland/appmap install
You will be guided through a series of steps for installing and configuring that agent, that will look something like this:
$ npx @appland/appmap install ? Select a target language for agent installation. Ruby ✔ Installing the AppMap agent... ╭─────────────────────────────────────────────────────────╮ │ │ │ Success! The AppMap agent has been installed. │ │ │ │ For more information, visit │ │ https://appmap.io/docs/reference/appmap-ruby │ │ │ ╰─────────────────────────────────────────────────────────╯
After you have installed the agent, proceed to Record AppMaps.
The AppMap agent installer relies on a tool called
npx to run our interactive CLI installer.
npx is included in all modern Node.js installations, so installing Node.js will also install npx automatically.
You can check to see if you have Node.js installed (and which version is present, if any) by running this in your terminal:
If this command prints a version like
v16.15.0 or similar, and the version is newer than
v14, you very likely have the right version of Node.js installed,continue your AppMap Agent installation.
If you do not have Node.js installed, or if you have a version that is older than version
v14 then you should first install nvm, the Node.js Version Manager.
We recommend that you use Node.js Version Manager (nvm) to install Node.js on your machine. Nvm makes managing and installing different versions of Node.js very simple.
First, check to see if nvm is already installed on your system using this command:
Once you have nvm installed, use this commands to install and use the latest ‘long term support’ version of Node.js:
nvm install --lts
Now that you have Node.js installed you will also now have
npx installed. You can continue with your AppMap agent installation.