All Alone (bitsbybrad) Mac OS

broken image


What is Bitcoin Mining?Best Bitcoin Mining Software

Get CleanMyMac here - The best app to Clean and Speed Up your Mac. How to Speed Up and Optimize your Mac - Watch my training co. Play the songs, albums, playlists and podcasts you love on the all-new Pandora. Explore subscription plans to stream ad-free and on-demand. Listen on your mobile phone, desktop, TV. USB thumb drives are perfect for this task; many longtime Mac owners buy a new one each year to create a macOS installer archive for every new version. The OWC 16.0GB Dual USB Flash Drive (seen in the image above) is affordable, and it works perfectly.

Now that you already know about the best Bitcoin mining hardware, we're going to talk about Bitcoin mining software.

What is Bitcoin Mining Software?

Bitcoin mining hardware handles the actual Bitcoin mining process, but:

Bitcoin mining software is equally as important.

  • If you are a solo miner: the mining software connects your Bitcoin miner to the blockchain.
  • If you mine with a pool: the software will connect you to your mining pool.
  • If you are cloud mining: you do not need mining software.

Mining Software Compared

SoftwareCategoryPricingBest Feature
Braiins OS+Best Overall1-2% depending on pool
  • A ton of security features
  • Stratum V2
  • Bulk device installation
Hive OSBest For MacOS$2/month per deviceAmazing mobile app


Quick Tip

Mining is not the fastest way to get bitcoins.

Buying bitcoin is the fastest way.


Read Our Buying Guide


Importance of Bitcoin Mining Software

Murk (itch) mac os. The main job of the software is to deliver the mining hardware's work to the rest of the Bitcoin network and to receive the completed work from other miners on the network.

Bitcoin mining software monitors this input and output of your miner while also displaying statistics such as the speed of your miner, hashrate, fan speed and the temperature.

You may also need Bitcoin tax software in order to calculate your taxes owed. Just as an example, we have a great guide on how that software works to pay taxes on Coinbase buys.

We highly recommend crypto tax software - seen above


Bitcoin Wallets

One of the most important things you will need before using any kind of Bitcoin mining software is a wallet.

Why?

This is because all Bitcoin mining software will ask you for a Bitcoin address that will be used to send your mining rewards and payouts. Once you create or download a wallet you will be able to get a Bitcoin address from your wallet.

Check out our guide on how to add funds to your wallet.

There are many Bitcoin wallets, but these are the ones we recommend if you are just starting out:

  • Ledger Nano X – Secure Bitcoin hardware wallet for all platforms.
  • iOS Wallets – The most popular Bitcoin wallets for iOS.
  • Android Wallets – The most popular Bitcoin wallets on Android.
  • Desktop Wallets – The most popular Bitcoin wallets for desktop.

Now that we understand mining software and how it helps in the mining process, and you have your Bitcoin wallet and address, let's look at different software on different operating systems.

Lastly:

Disclaimer: Mining Bitcoin is NOT the best way to get bitcoins. Buying Bitcoin is.

To buy bitcoin in your country, check our country guides:

…or visit our exchange finder if your country is not listed above.

Mining Software Overviews

Find the Right Software for You


So which software should you choose?

Let's go over all the most important info for each mining software.

By the end, you should be able to pick the best bitcoin mining software for you.

Best Bitcoin Mining Software For Windows

Braiins OS is part of Satoshi Labs and is the creation of the original inventor of mining pools, Marek 'Slush' Palatinus. You may also know Marek for his invention of the Trezor, the world's first hardware wallet.

Unlike many other mining software and operating systems, Braiins is completely free. Satoshi Labs makes money off of Braiins OS by offering you incentives to join their Slush mining pool, although this is not required to use their software.

Supported Hardware

Braains OS+ currently supports Antminer S9, S9i and S9j. Support for Antminer S17 and T17 are coming soon. Thankfully, Braiins OS+ makes the S9 family so much more efficient, that it can extend the life of your Antminer S9 ASICs. It achieves this life increase through better mining efficiency, which we will cover next.

Performance

With Braiins OS, you can increase the hashrate of your S9 up to 17+ Terrahashes per second.


Braiins OS+ can also take an S9 on low power mode and deliver 20% better performance than even an S9i.


For aging hardware like the S9 family, this is a crazy performance boost, so we can't wait to see what Braiin's will be able to do once they launch support for next gen Antminers like the S17 and T17.

Cost

While there is no up front cost to buying the software, you will need to pay Slushpool dev fees by directing 2% of your hashing power to their pool regardless of which pool you end up mining on. However, if you choose to mine with Slushpool for all 100% of your hashing power, that rate drops to 1%.

This is how Satoshi Labs makes money off of Braiins OS.

Features

Braiins OS boasts many features, such as:

  • Unlocked SSH
  • Automatic Updates to the OS firmware
  • Device installation on all your devices at once
  • Super Fast boot up speeds
  • Pre-heating to get mining faster
  • Complete fan control

Command Line

For the more traditional, tech-savvy users, Braiins offers a simple but robust command line interface for their mining software in addition to the more common graphical user interface that most people are used to. Both have their advantages, but many are more comfortable issuing commands with a keyboard instead of mouse clicks.

Two-Factor Authentication

According to Slushpool,

Every important change made to a user account requires email verification. We furthermore recommend enabling two-factor authentication using either TOTP mobile app or a hardware token (U2F). For even better protection, there is a possibility to lock your payout address so it can be only changed in future by a signed message from said address.

Slushpool takes the security of your earnings very seriously, which means a robust set of two-factor authentication options are at your disposal.

All alone (bitsbybrad) mac os catalina

Technical Support

Braiin's OS comes with some of the best documentation of all the mining software. Battles of napoleon mac os. If that doesn't answer you questions you can reach out to Braiins for help or join their telegram.

Implementation of Stratum V2

Braiins OS+ has also implemented its Stratum V2 communication protocol. This protocol offers truly advanced features for power miners such as bandwidth load reductions, hash rate variance control, and hash rate hijacking protection.

It also comes with a nifty Proxy so that you can still use Stratum on other pools even if it isn't supported by them.

Should You Use Braiins OS?

Clunky ball mac os. There is no one more experienced in mining software than Satoshi Labs, so you really can't go wrong. These guys are constantly innovating, so even if you are running Linux, you won't be disappointed in choosing Braiins.

That being said, if you don't plan to start mining with Slushpool, be aware that you will essentially pay a 2% fee to Slushpool (in the form of redirecting 2% of your hashing power to them). By mining with Slushpool, that cuts in half and becomes very attractive.

For more info on mining pools and how to pick one, see our complete guide on mining pools.


Best Bitcoin Mining Software For MacOS

Hive OS is a dashboard which allows miners to monitor and control all of their ASIC mining and GPUs from one centralized location. Doesn't matter if they are made by Avalon or Nvidia - Hive OS has you covered.

Centralization is a scary word in crypto but in this case it's great. Instead of having to monitor miners with different programs, it's now possible to keep track of everything using Hive's beautiful, one-stop dashboard.

Hive OS supports Bitcoin (BTC), Eth (ETH), Bcash (BCH), (XMR) and many other coins.

Whether you have three rigs or a thousand, Hive OS can easily integrate with all of them. Installation is easy as Hive OS automatically detects mining rigs and adds them to the dashboard.


HEADS UP!

Mining or buying bitcoins? You can't do either without a Bitcoin wallet.

Our guide on the best bitcoin wallets will help you pick one.
Read Our Wallets Guide


Tracking Metrics with Hive OS

As a full feature dashboard Hive OS allows miners to track a number of different metrics. That includes but is not limited to,

  • Hash rate
  • Online status
  • GPU errors
  • Pool configuration
  • Electricity usage
  • Team activity

All Alone (bitsbybrad) Mac Os Download

What's great about Hive is that all of this information can be accessed from anywhere in the world. That means that you can manage a mining operation from anywhere, you don't have to be physically connected to the miners. You can even use Hive OS to update ASICs (all at one time, it's not necessary to update them individually) or restart a GPU if it has frozen.


Quick Tip

Mining is not the fastest way to get bitcoins.

Buying bitcoin is the fastest way.


Read Our Buying Guide


Besides updating their rigs Hive OS allows miners to do the following,

  • Change which coins are being mined. Bitcoin or BCH, Litecoin, Ethereum or Ethereum Classic, you can switch on the go if one coin becomes more profitable than another. You can use our profitability calculator as well.
  • Change miner configurations all at once, there's no need to painstakingly change individual settings.
  • Change mining pools.

No matter what coins you'd like to mine Hive OS has you covered. They support more than 500 different currencies as well as 85 different mining rigs. To increase the efficiency of your miners Hive OS has firmware that can boost hash rates as well as cut down on energy usage by as much as 25%.

Pricing

Hive OS is surprisingly affordable at $2 per month per ASIC. For larger operations Hive offers discounts to any business with more than 500 miners. It's also possible to receive Hive for free if you purchase the Hive firmware upgrade for your rigs.

There are a couple of other discounts available. If you deposit three months worth of funds into your account Hive will give you a 30% bonus on your purchase. You have to make the deposit all at once but otherwise there are few restriction on what it takes to qualify. There is also an additional 3% bonus if you make the deposit using a stablecoin like USDT or TUSD.

Easy Install

Setup is super simple with HIVE OS. All you have to do is download the software and it will automatically detect your rig and add them to the management dashboard.

ETH Mining Pool

All Alone (bitsbybrad) Mac Os Catalina

All alone (bitsbybrad) mac os catalina

Technical Support

Braiin's OS comes with some of the best documentation of all the mining software. Battles of napoleon mac os. If that doesn't answer you questions you can reach out to Braiins for help or join their telegram.

Implementation of Stratum V2

Braiins OS+ has also implemented its Stratum V2 communication protocol. This protocol offers truly advanced features for power miners such as bandwidth load reductions, hash rate variance control, and hash rate hijacking protection.

It also comes with a nifty Proxy so that you can still use Stratum on other pools even if it isn't supported by them.

Should You Use Braiins OS?

Clunky ball mac os. There is no one more experienced in mining software than Satoshi Labs, so you really can't go wrong. These guys are constantly innovating, so even if you are running Linux, you won't be disappointed in choosing Braiins.

That being said, if you don't plan to start mining with Slushpool, be aware that you will essentially pay a 2% fee to Slushpool (in the form of redirecting 2% of your hashing power to them). By mining with Slushpool, that cuts in half and becomes very attractive.

For more info on mining pools and how to pick one, see our complete guide on mining pools.


Best Bitcoin Mining Software For MacOS

Hive OS is a dashboard which allows miners to monitor and control all of their ASIC mining and GPUs from one centralized location. Doesn't matter if they are made by Avalon or Nvidia - Hive OS has you covered.

Centralization is a scary word in crypto but in this case it's great. Instead of having to monitor miners with different programs, it's now possible to keep track of everything using Hive's beautiful, one-stop dashboard.

Hive OS supports Bitcoin (BTC), Eth (ETH), Bcash (BCH), (XMR) and many other coins.

Whether you have three rigs or a thousand, Hive OS can easily integrate with all of them. Installation is easy as Hive OS automatically detects mining rigs and adds them to the dashboard.


HEADS UP!

Mining or buying bitcoins? You can't do either without a Bitcoin wallet.

Our guide on the best bitcoin wallets will help you pick one.
Read Our Wallets Guide


Tracking Metrics with Hive OS

As a full feature dashboard Hive OS allows miners to track a number of different metrics. That includes but is not limited to,

  • Hash rate
  • Online status
  • GPU errors
  • Pool configuration
  • Electricity usage
  • Team activity

All Alone (bitsbybrad) Mac Os Download

What's great about Hive is that all of this information can be accessed from anywhere in the world. That means that you can manage a mining operation from anywhere, you don't have to be physically connected to the miners. You can even use Hive OS to update ASICs (all at one time, it's not necessary to update them individually) or restart a GPU if it has frozen.


Quick Tip

Mining is not the fastest way to get bitcoins.

Buying bitcoin is the fastest way.


Read Our Buying Guide


Besides updating their rigs Hive OS allows miners to do the following,

  • Change which coins are being mined. Bitcoin or BCH, Litecoin, Ethereum or Ethereum Classic, you can switch on the go if one coin becomes more profitable than another. You can use our profitability calculator as well.
  • Change miner configurations all at once, there's no need to painstakingly change individual settings.
  • Change mining pools.

No matter what coins you'd like to mine Hive OS has you covered. They support more than 500 different currencies as well as 85 different mining rigs. To increase the efficiency of your miners Hive OS has firmware that can boost hash rates as well as cut down on energy usage by as much as 25%.

Pricing

Hive OS is surprisingly affordable at $2 per month per ASIC. For larger operations Hive offers discounts to any business with more than 500 miners. It's also possible to receive Hive for free if you purchase the Hive firmware upgrade for your rigs.

There are a couple of other discounts available. If you deposit three months worth of funds into your account Hive will give you a 30% bonus on your purchase. You have to make the deposit all at once but otherwise there are few restriction on what it takes to qualify. There is also an additional 3% bonus if you make the deposit using a stablecoin like USDT or TUSD.

Easy Install

Setup is super simple with HIVE OS. All you have to do is download the software and it will automatically detect your rig and add them to the management dashboard.

ETH Mining Pool

All Alone (bitsbybrad) Mac Os Catalina

For Ethereum miners Hive hosts its own mining pool which they claim is one of the most profitable anywhere. Hive mentions that due to their worldwide servers their pool is secure, efficient and also has a high payout. As of publication the expected daily earnings are $1.35 (0.00794 ETH) per 100 MH/s.

The minimum payout for the pool is 0.1 ETH and currently the pool charges no commission fee. There are three servers available. One in Russia, one in Europe and one in North America.


Quick Tip

Using mining software is not the fastest way to get bitcoins.

Try an exchange below for the fastest way to get bitcoins.

  • Bits of Gold
    • Crypto exchange based in Tel Aviv
    • Buy with card, cash or bank transfer
    • Supports Bitcoin & Ethereum
  • Rain
    • Exchange for Saudi Arabi, Oman, Kuwait, Bahrin, UAE
    • Rain is based in Middle East
    • High buying limits
  • WazirX
    • Crypto exchange based in India
    • Deposit INR with IMPS & UPI
    • Low fees and many coins
  • eToro
    • Start trading fast; high limits
    • Easy way for newcomers to get bitcoins
    • Your capital is at risk.
  • Luno
    • Best for Nigeria, South Africa, Indonesia, Malaysia
    • East to use interface
    • Trusted exchange
  • Coinbase
    • High liquidity and buying limits
    • Easy way for newcomers to get bitcoins
    • 'Instant Buy' option available with debit card
  • Bitbuy
    • Exchange based in Canada
    • Very high buy and sell limits
    • Supports Interac & wire
  • Coinberry
    • Crypto exchange based in Canada
    • Very high buy and sell limits
    • Supports credit & debit card, Interac, wire
  • Coinsquare
    • Canada's largest cryptocurrency exchange
    • Very high buy and sell limits
    • Supports bank account, Interac, wire
  • Independent Reserve (AU/NZ)
    • Low fees with instant AUD deposits
    • EFT, POLi, Osko & SWIFT
    • Top cryptos, tax reports, local support & OTC desk
  • eToro
    • Supports Bitcoin, Ethereum & 15 other coins
    • Start trading fast; high limits
    • Your capital is at risk.

    This ad promotes virtual cryptocurrency investing within the EU (by eToro Europe Ltd. and eToro UK Ltd.) & USA (by eToro USA LLC); which is highly volatile, unregulated in most EU countries, no EU protections & not supervised by the EU regulatory framework. Investments are subject to market risk, including the loss of principal.

The Hive OS Mobile App

One of the great things about Hive OS is that they have a mobile app that allows you to execute all of the same functions and monitor all of the same metrics as the dashboard. With some recent updates the app also appears to function well, based on user reviews.

In the Google Play store the app has 4.4 review score and although there is not yet an Apple iPhone app, Hive has indicated that they plan to release one soon.

Coin Statistics

One of the cool things about Hive OS is that even if you've not yet signed up for the service you can get an idea of who is using it. On the Hive statistics page there is a bunch of relevant data that miners may be interested in. For instance as of publication:

  • 54% of all Hive OS mining is for Ethereum and 9% is Bitcoin
  • The Radeon RX 570 4GB is the most popular AMD miner and the P106-100 6GB is the most popular NVIDIA miner. For Bitcoin the Antminer S9 Hive One is the most popular model

The Hive OS Advantage

If you're in the business of cryptocurrency mining Hive OS can offer a real advantage in terms of efficiency, setup speed and ease of use. The centralized dashboard is well thought out and beautiful to look at. What used to be difficult is now easy with essentially plug and play mining for Ethereum, Bitcoin and hundreds of other coins.

Whether you've already got the equipment or you're considering a new investment, Hive OS is definitely worth checking out as an all-in-one mining dashboard.

Hive OS is a dashboard which allows miners to monitor and control all of their ASIC mining and GPU mining activity from one centralized location.

What is the Best Mining OS?

Now that we've talked about the best mining software, let's talk about the best computer operating system to have when using a mining software.

This is really a matter of taste as a lot of the big mining software developers support multiple platforms (MacOS, Windows, Linux, etc.).

However, if you had to choose one OS over all the others, Linux is probably going to be the best bet. Nearly all mining software supports some version of Linux so you have flexibility to try multiple mining software suites.

On top of that, Linux is by far the most open OS, which means you can make changes to it if you feel confident enough to do that.

For those that want a more traditional OS experience, windows is probably the way to go.

Best Bitcoin Mining App Software for Android

You may be wondering why I left out mobile OS's like Android.

Well…that's because it really makes no sense to use mining apps on mobile devices to mine cryptocurrency.

There is just not enough power on your mobile device to mine bitcoin profitably.

You'll just bog down your device and waste our battery.

If you are serious about mining, you need to:

  • Get an actual rig built for mining
  • Use one of the software suites outlined above
  • Manage your operation using a desktop OS like MacOS, Windows, or Linux

Viruses in Mining Software

Be aware that a lot of cryptomining software may try to steal your bitcoins. Be sure to read reviews on any software you download.

Also:

Make sure you are downloading from the actual site and not a copy-cat site.

Using Tor with Mining Software

It's also worth noting that you can use Tor to route your traffic through to remain especially anonymous while mining.

Cash Out your Coins

Once you have this setup and are mining, you may need to cash out some of your coins in order to pay off your expenses such as electricity.

For this you can use Buy Bitcoin Worldwide to find a Bitcoin exchange in your country, whether that be the USA or elsewhere! Just make sure the exchange rate is good.



Mining Software

Frequently Asked Questions


Below are some of our most asked questions by readers.

All Alone (bitsbybrad) Mac Os Update

If you're wondering about a topic on this page, odds are we have the answer here.

Why Do You Need a Bitcoin Mining Operating System?

Bitcoin mining rigs and systems have come a long way since the beginning. The first Bitcoin miners made do with the tools they had at their disposal and set up various software to control the mining hardware in their rigs.

While these make-shift solutions were better than nothing, they didn't exactly work efficiently. Not only did that slow down the mining process, but it also made it difficult for newcomers to join in on the fun.

Necessity is the mother of all invention, so along came solutions like Awesome Miner, ethOS, and SimpleMining that streamlined the mining process. Let's briefly review some of these early solutions.

What is CGMiner?

CGMiner is an open source ASIC/FPGA mining software written in C designed for several platforms - Windows, OS X and Linux. CGMiner is one of the oldest bitcoin mining software and it has the ability to run on any computer and is compatible with multiple mining hardware.

What us BFGMiner?

BFGMiner is designed for FPGA and ASIC mining. BFGMiner offers advanced users the opportunity to mine multiple cryptocurrencies by simultaneously hashing on mining algorithms like Scrypt and SHA256d. BFGMiner has remote interface capabilities.

What is Multiminer?

Multiminer is a free mining software optimized for Windows computers, but it also comes with directions to simply install it on Mac and Linux. There's no need for coding or technical skills. The software is available for anyone to download and use.

What is Awesome Miner?

Awesome miner is a total software suite to manage your mining operation. It features support for as little as one and as many as 200,000 miners. Users can also use the ‘profit switching' feature to switch which coins your miners are mining in real time, based on revenue and power consumption. Users of Awesome Miner can expect 10% higher performance for their Antminer S9s and a whopping 40% for Antminer S17.

These days, mining operating systems are the standard.

But many users of the existing systems still experience issues with:

  • Managing multiple mining devices.
  • Maintaining a steady mining performance.
  • Fixing spontaneous errors.
  • Managing the mining system remotely.
  • Maximizing the efficiency of their hardware.
  • Difficulty adjustments

What are FPGA miners?

FPGA stands for ‘Field Programmable Gate Array'. According to BH Miner, the company that produces FPGA mining hardware, FPGA chips supposedly deliver higher hash power at lower rates of energy consumption compared to ASICs. However, given than these are multi-algorithm mining hardware, you should be very skeptical that these claims actually bear out.

What is a GPU Miner?

GPU involves using a Graphics Processing Unit (normally used to play video games on PC) to mine cryptocurrencies. GPU mining was very popular in Bitcoin mining a few years ago, but that is no longer profitable due to highly advanced ASIC miners. Now, GPU mining is mainly done on Ethereum and Monero.

What is a CPU Miner?

GPU involves using a Central Processing Unit (normally used to run desktop PCs) to mine cryptocurrencies. Almost no one uses their CPU to mine any coins today, but it can be a god way to learn how mining works without spending much money.

What is EasyMiner?

EasyMiner is another free open-source mining software available to anyone who wants to use it and mine using their GPU or CPU.

Can I Mine Bitcoin on my PC?

You can, but you will lose lots of money doing this. The cost of the electricity will cost more than the tiny amount of Bitcoin you are able to mine with a modern GPU.

Even if you have the very best GPU on the market, it will never compete with the ASICs that are specially developed to mine Bitcoins.

You are really just better off buying Bitcoin than mining it at home. If you don't believe us, just use our cryptomining profitability calculator to see for yourself!

Where Can I Mine Bitcoin for Free?

Unless you live in a country with free electricity like Iran or Venezuela, you really can't mine cryptocurrency for free.

In fact, even if you did live in those places, you'd still need to buy some kind of mining hardware in order to mine Bitcoins.

So really, there is no place on Earth where you can mine cryptocurrency for free!

Learn More

I recently switched to Mac OS X as my primary desktop operating system after spending over a decade on Linux. Although Apple's operating system supplies practically all of the command line tools I know and love, I want to spend less time in a terminal window and start cultivating workflows that integrate better with the Mac user experience.

In my quest to tear the power of the command line out of the terminal, I have found that Apple's Automator tool is a powerful ally. Although it's not as mighty as the command line for improvisational automation, it's useful for defining stand-alone operations that you want to be able to repeat. I've used Automator over the past week to build simple applications that replace some of my personal shell scripts.

One of the most compelling features of Automator is support for building services—headless applications that are pervasively accessible throughout the operating system. Many services are context-sensitive and designed to process or operate on user input. A brief and unscientific poll of Mac enthusiasts revealed that few actually use the Services menu. Despite its relative obscurity among users, I've learned to appreciate its value.

Apple offers a number of its own services—like one that supports dictionary lookup on a selected word—that work with the platform's standard applications. Third-party developers can also create services to deploy with their applications. Automator makes it really easy for regular end users to create their own services with specialized behaviors.

As a Linux refugee, one of the features that makes Automator particularly compelling is that it allows me to integrate command-line operations, commands, and pipelines into my Automator workflows. In this tutorial, I'm going to show you two of the ways that I use shell scripting in Automator services in order to simplify my work.

Advertisement

A trivial example

I write virtually all of my articles in the Vim text editor and use Markdown syntax for formatting. On Linux, I used a Markdown processing tool from the command-line to convert my articles to HTML and then piped the output into the xclip command so that I could just paste the finished article directly into Ars Technica's content management system. I had a simple shell script that I could call directly from within Vim itself to perform those steps.

This same approach is still viable on Mac OS X, but I wanted to explore a more Mac-native solution to the same problem. More importantly, I wanted a solution that wasn't tied solely to Vim. That's where Automator comes into play. I built a trivial service that wraps a command-line Markdown processor. I can select a block of editable text with Markdown formatting in any Mac application and use the Markdown service to convert it to HTML in place.

To create a service, you start by selecting New from Automator's File menu. Automator will show you a list of available templates and prompt you to choose one for your new project. You should select the Service option, which is accompanied by a gear icon. In your new service, you will see a bar at the top of the Automator flow pane. It has combo boxes that allow you to set filters that establish the conditions in which your service should be made accessible. You want to make a service that receives selected text and will operate in any application.

Below those combo boxes is a checkbox that you can toggle to specify whether you want the output of your service to replace the selected text block. We definitely want that to be checked for our Markdown service, because we are replacing the Markdown-formatted input text with the HTML output provided by the Markdown processing engine.

Advertisement

The behavior of our Markdown workflow is really simple, so it will only require one action. From the left-hand action library pane, drag the Run Shell Script action out into the workflow pane. It will automatically create a connection with the top bar, indicating that it will use the user's selected text as the initial input.

The shell script action has a few simple options. You can choose the shell environment that you want to use for the operation and you can choose how you want it to handle the input. For the purpose of this example, we want to use the standard Bash shell. We also want to configure the action to pass the input into stdin, the UNIX standard input stream. This is a really useful capability in Automator, because it makes it possible to seamlessly mix Automator workflows with shell pipelines.

In the main text area of the shell action, we need to specify what command-line expression we want Bash to execute. In this case, all we want it to do is run the markdown command. I have already installed the markdown command using the relevant Homebrew package, but Automator's Bash shell doesn't seem to find it in my command path. To work around Automator's difficulty finding the command, I simply put the full path into the text box, as you can see below.

Now that the workflow is complete, you just have to save it under the name Markdown. By default, Automator will store your custom services in the ~/Library/services directory. Any Automator service that is copied into that path will be made available through the services menu under applicable conditions. To run the new service, you just have to select some text and then click the Markdown item in the services menu.

There are a number of ways that you can customize this service to achieve alternate behaviors. For example, you could use the Copy to Clipboard action at the end of the workflow to make the output go to the user's clipboard rather than replacing the selected text.





broken image