How do I install Slack from the command line

Slack for Linux brings all the features you find in your browser, plus support for multiple workspaces, right to your desktop.

Note: Slack for Linux is in beta. We’re still busy adding features and making adjustments to the app.

Download and install Slack

At the moment we support Ubuntu, Fedora, and RHEL.

You can install Slack from the command line with snap:
sudo snap install slack –classic


If the ☝ above option isn’t available, you can also download the app from the Slack downloads page:

  1. Visit the Slack downloads page at slack.com/downloads.
  2. Under Linux (Beta), choose Ubuntu 64-bit in the drop-down menu, then press the green download button to the right.
  3. Find the downloaded file in your Downloads folder. The file name will begin: slack-desktop
  4. Double click the file to view Slack in Ubuntu Software Center.
  5. Click the Install button to the right. You may need to enter the password you use to log in to Ubuntu.
  6. To run the app, search your computer for Slack, then double click the Slack icon.

Update Slack

Update Slack by entering these commands from the command line:
sudo apt-get update
sudo apt-get upgrade

Tips and tricks

Pull up keyboard shortcuts

There are a number of keyboard shortcuts to help you move around Slack faster. To see a list of keyboard shortcuts in the desktop app, use Ctrl /.

Launch Slack at login

You can choose to have Slack start automatically when you log in to Linux. Just click your workspace name in the top left to open the menu, then select Preferences. Next, click the Linux App tab, and check Launch app on login.

Specify the proxy server

You can specify the proxy server used with the –proxy-server=IP:port command line switch. Here’s what this will look like in your terminal window:
$ slack –proxy-server=ip:port

Troubleshooting

Having trouble with the Slack for Linux app? Here are some tips to try:

Clear Cache

  1. From the Slack desktop app, click Help in the menu bar.
  2. Select Troubleshooting and click Clear Cache and Restart.

Check your app version

Make sure you’re running the latest version of the Slack for Linux app.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.