{"id":45163,"date":"2019-08-30T18:19:07","date_gmt":"2019-08-30T10:19:07","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=45163"},"modified":"2019-08-29T15:46:12","modified_gmt":"2019-08-29T07:46:12","slug":"record-command-line-sessons-with-asciinema","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/record-command-line-sessons-with-asciinema\/","title":{"rendered":"Record Your Command Line Sessions with Asciinema"},"content":{"rendered":"<p>If you\u2019ve ever looked up how-to videos on YouTube then you\u2019re familiar with the poor quality of those videos out there. Sometimes you\u2019ll find videos recording the whole screen with tiny CLI windows, other times the CLI is just too blurry to read.<\/p>\n<p>With <a href=\"https:\/\/asciinema.org\/\" target=\"_blank\">asciinema<\/a> you can <strong>automatically record all your terminal sessions with 100% zoom<\/strong> and save the videos locally.<\/p>\n<p class=\"note\"><strong>Read Also:<\/strong> <a target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/developers-command-line\/\/\">Why All Developers Should Learn Command Line<\/a><\/p>\n<p>Need to teach someone how to perform a certain task? No problem. Wanna release your own how-to vids on YouTube? Piece of cake. Thanks to asciinema\u2019s recorder.<\/p>\n<figure><a href=\"https:\/\/asciinema.org\/\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/record-command-line-sessons-with-asciinema\/01-asciinema-video-recording-homepage.jpg\" alt=\"asciinema cli recording\" width=\"1000\" height=\"419\"><\/a><\/figure>\n<p>The project works like an installable applet where you can download the files or install them dynamically using <a href=\"https:\/\/brew.sh\/\" target=\"_blank\">Homebrew<\/a>. Note this only works on OS X, Linux, and BSD so it\u2019s not compliant with the Windows CLI.<\/p>\n<p>The recording feature runs on a <strong>series of keyboard shortcuts to stop and save a recording<\/strong>. While you\u2019re inside the terminal just enter <strong>asciinema rec<\/strong> and you\u2019ll call the recording function immediately.<\/p>\n<p>Do your thing, record what you need, then <strong><span class=\"key\">CMD<\/span> + <span class=\"key\">D<\/span><\/strong> to stop recording. It\u2019s super easy to use and if you\u2019re already comfortable with the command line you should have no trouble with this recorder.<\/p>\n<p>Videos are actually hosted on the asciinema website so you can browse through a library of previously-recorded videos to see what\u2019s out there. It\u2019s also a great way to <strong>share your clips with others and embed them into your site<\/strong>.<\/p>\n<p>But you can also download your videos and re-upload them to popular video sharing sites like YouTube, Vimeo, and DailyMotion.<\/p>\n<figure><a href=\"https:\/\/asciinema.org\/a\/117813\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/record-command-line-sessons-with-asciinema\/02-sample-video-cli-asciinema.jpg\" alt=\"example video page asciinema\" width=\"1000\" height=\"588\"><\/a><\/figure>\n<p>To get this running check out their <a href=\"https:\/\/asciinema.org\/docs\/getting-started\" target=\"_blank\" rel=\"nofollow\">documentation page<\/a> and follow the instructions.<\/p>\n<p>You can also <strong>dig into the docs to find common commands<\/strong>, everyday usage for recording, and properties for your own asciinema config file.<\/p>\n<p>Terminal lovers around the world rejoice! This is one of the best CLI recording tools on the web and you can install it for free with one command.<\/p>\n<p class=\"note\"><strong>Read Also:<\/strong> <a target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/web-designers-essential-command-lines\/\">10 Basic Command Lines Every Designers Should Know<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>A tool that allows you to automatically record all your terminal sessions and save the videos locally.<\/p>\n","protected":false},"author":18,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3393],"tags":[3053],"topic":[],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Record Your Command Line Sessions with Asciinema - Hongkiat<\/title>\n<meta name=\"description\" content=\"A tool that allows you to automatically record all your terminal sessions and save the videos locally.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hongkiat.com\/blog\/record-command-line-sessons-with-asciinema\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Record Your Command Line Sessions with Asciinema\" \/>\n<meta property=\"og:description\" content=\"A tool that allows you to automatically record all your terminal sessions and save the videos locally.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/record-command-line-sessons-with-asciinema\/\" \/>\n<meta property=\"og:site_name\" content=\"Hongkiat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hongkiatcom\" \/>\n<meta property=\"article:published_time\" content=\"2019-08-30T10:19:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/record-command-line-sessons-with-asciinema\/01-asciinema-video-recording-homepage.jpg\" \/>\n<meta name=\"author\" content=\"Jake Rocheleau\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jake Rocheleau\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/record-command-line-sessons-with-asciinema\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/record-command-line-sessons-with-asciinema\\\/\"},\"author\":{\"name\":\"Jake Rocheleau\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/966b2daea15283b4145e71aa98a82c2a\"},\"headline\":\"Record Your Command Line Sessions with Asciinema\",\"datePublished\":\"2019-08-30T10:19:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/record-command-line-sessons-with-asciinema\\\/\"},\"wordCount\":340,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/record-command-line-sessons-with-asciinema\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/record-command-line-sessons-with-asciinema\\\/01-asciinema-video-recording-homepage.jpg\",\"keywords\":[\"Command Line\"],\"articleSection\":[\"Toolkit\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/record-command-line-sessons-with-asciinema\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/record-command-line-sessons-with-asciinema\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/record-command-line-sessons-with-asciinema\\\/\",\"name\":\"Record Your Command Line Sessions with Asciinema - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/record-command-line-sessons-with-asciinema\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/record-command-line-sessons-with-asciinema\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/record-command-line-sessons-with-asciinema\\\/01-asciinema-video-recording-homepage.jpg\",\"datePublished\":\"2019-08-30T10:19:07+00:00\",\"description\":\"A tool that allows you to automatically record all your terminal sessions and save the videos locally.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/record-command-line-sessons-with-asciinema\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/record-command-line-sessons-with-asciinema\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/record-command-line-sessons-with-asciinema\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/record-command-line-sessons-with-asciinema\\\/01-asciinema-video-recording-homepage.jpg\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/record-command-line-sessons-with-asciinema\\\/01-asciinema-video-recording-homepage.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/record-command-line-sessons-with-asciinema\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Record Your Command Line Sessions with Asciinema\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"name\":\"Hongkiat\",\"description\":\"Tech and Design Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\",\"name\":\"Hongkiat.com\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"width\":1200,\"height\":799,\"caption\":\"Hongkiat.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hongkiatcom\",\"https:\\\/\\\/x.com\\\/hongkiat\",\"https:\\\/\\\/www.pinterest.com\\\/hongkiat\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/966b2daea15283b4145e71aa98a82c2a\",\"name\":\"Jake Rocheleau\",\"description\":\"Jake is a writer and designer with over 10 years experience working on the web. He writes about user experience design and cool resources for designers\",\"sameAs\":[\"https:\\\/\\\/www.hongkiat.com\"],\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/jake\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Record Your Command Line Sessions with Asciinema - Hongkiat","description":"A tool that allows you to automatically record all your terminal sessions and save the videos locally.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.hongkiat.com\/blog\/record-command-line-sessons-with-asciinema\/","og_locale":"en_US","og_type":"article","og_title":"Record Your Command Line Sessions with Asciinema","og_description":"A tool that allows you to automatically record all your terminal sessions and save the videos locally.","og_url":"https:\/\/www.hongkiat.com\/blog\/record-command-line-sessons-with-asciinema\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2019-08-30T10:19:07+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/record-command-line-sessons-with-asciinema\/01-asciinema-video-recording-homepage.jpg","type":"","width":"","height":""}],"author":"Jake Rocheleau","twitter_card":"summary_large_image","twitter_creator":"@hongkiat","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Jake Rocheleau","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/record-command-line-sessons-with-asciinema\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/record-command-line-sessons-with-asciinema\/"},"author":{"name":"Jake Rocheleau","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/966b2daea15283b4145e71aa98a82c2a"},"headline":"Record Your Command Line Sessions with Asciinema","datePublished":"2019-08-30T10:19:07+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/record-command-line-sessons-with-asciinema\/"},"wordCount":340,"commentCount":0,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/record-command-line-sessons-with-asciinema\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/record-command-line-sessons-with-asciinema\/01-asciinema-video-recording-homepage.jpg","keywords":["Command Line"],"articleSection":["Toolkit"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/record-command-line-sessons-with-asciinema\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/record-command-line-sessons-with-asciinema\/","url":"https:\/\/www.hongkiat.com\/blog\/record-command-line-sessons-with-asciinema\/","name":"Record Your Command Line Sessions with Asciinema - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/record-command-line-sessons-with-asciinema\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/record-command-line-sessons-with-asciinema\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/record-command-line-sessons-with-asciinema\/01-asciinema-video-recording-homepage.jpg","datePublished":"2019-08-30T10:19:07+00:00","description":"A tool that allows you to automatically record all your terminal sessions and save the videos locally.","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/record-command-line-sessons-with-asciinema\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/record-command-line-sessons-with-asciinema\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/record-command-line-sessons-with-asciinema\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/record-command-line-sessons-with-asciinema\/01-asciinema-video-recording-homepage.jpg","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/record-command-line-sessons-with-asciinema\/01-asciinema-video-recording-homepage.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/record-command-line-sessons-with-asciinema\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Record Your Command Line Sessions with Asciinema"}]},{"@type":"WebSite","@id":"https:\/\/www.hongkiat.com\/blog\/#website","url":"https:\/\/www.hongkiat.com\/blog\/","name":"Hongkiat","description":"Tech and Design Tips","publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hongkiat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hongkiat.com\/blog\/#organization","name":"Hongkiat.com","url":"https:\/\/www.hongkiat.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","contentUrl":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","width":1200,"height":799,"caption":"Hongkiat.com"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hongkiatcom","https:\/\/x.com\/hongkiat","https:\/\/www.pinterest.com\/hongkiat\/"]},{"@type":"Person","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/966b2daea15283b4145e71aa98a82c2a","name":"Jake Rocheleau","description":"Jake is a writer and designer with over 10 years experience working on the web. He writes about user experience design and cool resources for designers","sameAs":["https:\/\/www.hongkiat.com"],"url":"https:\/\/www.hongkiat.com\/blog\/author\/jake\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-bKr","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/45163","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=45163"}],"version-history":[{"count":3,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/45163\/revisions"}],"predecessor-version":[{"id":48617,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/45163\/revisions\/48617"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=45163"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=45163"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=45163"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=45163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}