Dashcam
HomeDashboard
  • Setup
    • đŸ–Ĩī¸Desktop App
    • 🌐Chrome Extension
    • âŒ¨ī¸CLI
    • 🐙GitHub Action
  • Manual Capture
    • đŸŽŦScreencast
    • âĒInstant Replay
    • 🐞Error Detection
  • Automated Test Recording
    • đŸĒŸWindows
  • Sharing
    • â˜‘ī¸Jira
    • 🐙GitHub
    • ⚡Zapier
    • đŸ’ŦSlack
  • đŸ•šī¸Configure
    • Display Selection
    • Storage
    • Logs
    • Other Settings
  • 💭FAQ
    • How Does Dashcam Work?
    • How can I tell what is recording and when?
    • Where are files saved on my machine?
    • How can I monitor Dashcam's internet activity?
    • How can I delete published clips?
    • Can I edit a published clip?
    • How long are published clips stored?
    • How can I share a clip?
    • How can I enable public links?
    • Is my screen being uploaded to the cloud in the background?
    • How do I update Dashcam?
    • I'm having problems streaming Netflix or Hulu
    • Archive
      • Piping to Files Directly
      • Log Files
      • đŸŽžī¸Trim
      • 😄Overview
      • Unity
      • Install the Chrome Extension
      • Install the CLI
      • Overview
      • Share
      • 😍Using the app
      • âš™ī¸Settings
      • 🧩Chromium
      • Live Demo!
      • Examples
      • Usage
      • Installation
      • GitHub Recipies
      • Embedding a Clip in a Readme
      • Embedding a playable clip in HTML
      • Embedding a Clip as GIF in HTML
      • Embedding a Clip as GIF in a Pull Request
      • đŸĒŖBitBucket
      • Add users to your team
      • 📂Your workspace
      • 🐙GitHub
      • ✅Jira Button
      • 🔧NodeJS
      • 🔗Web
        • Hotlinks
        • Javascript
      • đŸŽŦEditing a Dash
        • Creating a Dash
      • Uploading a Dash
      • đŸĒŸWindows Setup
      • 🍎Mac Setup
        • Install Dashcam on Mac
        • Enable Accessibility Features
      • Clip Expiration
      • đŸĨœNut.js
Powered by GitBook
On this page
  • Install Dashcam from NPM
  • Capture logs from your shell
  • Capture logs from every new session
  • Capture terminal logs manually

Was this helpful?

  1. Setup

CLI

Capture logs from terminal!

Install Dashcam from NPM

The Dashcam CLI is available via npm:

npm install dashcam -g

You can make sure it's installed correctly by running the following command

dashcam version

Capture logs from your shell

Simply type dashcam record to capture logs from the current shell session.

❯ dashcam record
This session is being recorded by Dashcam
Type `exit` to stop recording

Capture logs from every new session

Now, to ensure we capture the logs from your CLI, we need to edit the .bashrc or .zshrc. If you need help with this, be sure to join our Discord.

Open your profile, and add the following line to the end:

dashcam record

Now, close your terminal and open it again. You should see a confirmation that Dashcam is now tracking your CLI!

Capture terminal logs manually

Alternatively, there's a way to capture logs manually without using the CLI using tee command, for Unix and Unix-like operating systems.

  1. Name the entry

  2. Choose Application

  3. Add the path /tmp/myapp.log

  4. Hit Save

  5. Start a capture on Dashcam desktop

Then in your terminal this is how you can start it:

<command> 2>&1 | tee -a /tmp/myapp.log

Where:

  • <command> is a shell command which starts your app or service such as npm start or python app.py

  • /tmp/myapp.log is the path specified in step 3

PreviousChrome ExtensionNextGitHub Action

Last updated 1 year ago

Was this helpful?

âŒ¨ī¸