Introduction
Atom Apt
How to install Atom + Shell commands (Mac OS) Go to atom.io and click on Download. Or download here directly. Unzip the atom-mac.zip file and drag the executable to your Applications folder. Open Atom for the first time, click Atom Install Shell Commands. This command will install the binaries and provide the apm and atom commands. Example Installing from a zip. Download the atom-mac.zip zip file from the Atom GitHub repository here; Unzip the file by double clicking on it in Finder; Drag the Atom application into your 'Applications' folder; Run the Atom application. Building from Source.
Atom is a free and open source Text editor which can be used for Linux, Windows and MacOS. It provides support for plugins written in Node.js. It is based upon electron which is a framework which can enable cross platform desktop applications using chromium and Node.js. Its first version was released on 25th January, 2015. It can also be used as an integrated development environment(IDE).
In this tutorial, we will learn the installation process of Atom on MacOS.
To start collaborating, open Teletype in Atom and install the package. GitHub for Atom. A text editor is at the core of a developer’s toolbox, but it doesn't usually work alone. Work with Git and GitHub directly from Atom with the GitHub package. Install shell commands. To run the software globally on the system, we need to install the Shell Commands of Atom. For this purpose, go to the atom icon at the top left corner of the computer screen and choose install Shell Commands from the dropdown menu. This will install all the shell commands related to the software. 4.Test the application.
Prerequisites
- MacOS
- Login as an administrator on terminal
Installation
The following steps are used in installation of Atom on MacOS.
1.Download and extract the file:
Download the zip file by official website of Atom http://www.atom.ioor by simply pasting the linkhttps://atom.io/download/macinto the browser's search bar. The downloaded file will be an archived file (.zip) which needs to be extracted in order to install Atom. Use the following command to extract the archived file.
2. Run Atom:
An executable file located at Atom.app/Contents/MacOS/Atom needs to be executed in order to launch Atom application.
3. Install shell commands
To run the software globally on the system, we need to install the Shell Commands of Atom. For this purpose, go to the atom icon at the top left corner of the computer screen and choose install Shell Commands from the dropdown menu.
This will install all the shell commands related to the software.
4.Test the application
To test, whether atom is successfully installed on the system or not, we can simply type Atom test.html on the terminal. This creates a file named as test.html.
Well, we have successfully installed and tested Atom on our MacOS.
Contents
- 1 3 Steps to Setup ATOM Code Editor
- 2 2. Installation of Packages in ATOM Code Editor
- 3 3. Installation of Nuclide Plugin in ATOM Code Editor
Here are the 3 Steps to Setup ATOM Code Editor for React Native Development. To know more about the code editors for React Native Development please visit Choosing Code Editor for React Native Development.
ATOM code editor is a modern, approachable, yet hackable editor made for the 21st century. Atom is widely used by developers for all major technologies. It has a huge active community hence there are always enhancements/plugins available for everything.
- Platform: Windows, Mac, Linux.
- Features:
- Cross-platform editing
- Built-in package manager
- Smart auto-completion
- File system browser
- Multiple panes
- Find and replace
3 Steps to Setup ATOM Code Editor
Here are the 3 steps to Setup ATOM Code Editor for React Native development Dell 1355cn service manual pdf.
1. Installation of ATOM Code Editor
To start working with ATOM go to https://atom.io and download the ATOM setup as per your OS.
1.1. Windows User:
To install ATOM code editor in Windows you can download the executable file and follow the installer instructions to install the editor.
1.2. Linux Users:
To install ATOM code editor in Linux operating system you can download the .deb file (atom-amd64.deb) and can run the following command on the terminal to install it in your Linux machine.
For Example, my .deb file is in the Downloads directory so the command will become
After running the above command run the following command
This will install the Atom code editor in your machine. Now you can search for the Atom from the search menu or in your program files.
Click on the icon and here we go.
2. Installation of Packages in ATOM Code Editor
ATOM IDE is a set of optional packages (You can find them here) to bring IDE like functionality to ATOM and improve language integrations.
Let’s see how to install a package in ATOM.
2. 1. Installation of Packages (From Code Editor’s Setting)
In order to install a new package, you can use the Install tab in the now familiar Settings View. Open up the Settings View using
Ctrl+,
click on the “Install” tab and type your search query into the box under Install Packages.You can also find other options here like basic editor settings, theme, updates, shortcut etc.
All of the packages will come up with an “Install” button. Clicking that will download the package and install it. Your editor will now have the functionality that the package provides.
Once a package is installed in Atom, it will show up in the Settings View under the “Packages” tab, along with all the preinstalled packages that come with Atom. To filter the list in order to find one, you can type into search box directly under the “Installed Packages” heading.
Clicking on the “Settings” button for a package will give you the settings screen for that package specifically. Here you have the option of changing some of the default variables for the package, seeing what all the command keybindings are, disabling the package temporarily, looking at the source code, seeing the current version of the package, reporting issues and uninstalling the package.
Install Atom For All Users
If a new version of any of your packages is released, Atom will automatically detect it and you can upgrade the package from either this screen or from the “Updates” tab. This helps you easily keep all your installed packages up to date.
2.2. Installation of Packages (From Command Line Interface)
You can also install packages or themes from the command line using
apm
(atom package manager).Check that you have apm installed by running the following command in your terminal:
You can also install packages by using the apm install command:
You can also use apm to find new packages to install. If you run apm search, you can search the package registry for a search term.
You can use apm view to see more information about a specific package.
You can search and install as many packages as you can but here are the must-have packages which will help you a lot:
- React React.js (JSX) language support, indentation, snippets, autocomplete, reformatting
- atom-react-native-autocomplete package – It is a package for React-Native autocomplete for Atom text editor.
- atom-react-native-css – It is a package to style React-Native components with built-in support for SASS/SCSS. React-native-css turns valid CSS/SASS into the Facebook subset of CSS.
- react-native-snippets – It is a package for React Native snippets for Atom and Nuclide.
- zenchat-snippets – It is a collection of snippets for react-native, redux and ES6.
- atom-xcode – This package bridges the gap between Mac Xcode and atom. Once installed, the iOS simulator can be controlled from within the atom itself.
- language-babel – This package includes Language grammar for all versions of JavaScript including ES2016 and ESNext, JSX syntax as used by Facebook React, Atom’s etch and others.
Atom Editor Mac
3. Installation of Nuclide Plugin in ATOM Code Editor
Nuclide is a plugin of Atom text editor, made by Facebook. It is very useful to develop React Native apps. (Update on Feb 26, 2018: Nuclide dropped the support of debugging Node.js and React Native in June 2017 and brought it back in early 2018.)
Nuclide has built-in support for the React Native framework. It is a very useful ATOM package with features like Built-in Debugging and Remote Development.
To install nuclide you can search for nuclide in the packages and can install or can run the following command to install view command line.
After the successful installation, you can see nuclide in the Atom’s menubar.
Atom Install Shell Commands Windows
After installing it you can connect to the device which you want to debug and can use the following options
For Android Debugging
You can see Nuclide > ADB Logcat > start/stop/restart
For iOS Debugging
You can see Nuclide > iOS Simulator Logs > start/stop/restart
It will open a terminal below which will show all your console.log and other logs.
We will see the further installations and the usefulness of all this stuff in the upcoming post. If you have any doubt about the topic you can comment below or contact us here.
Hope you liked it. ?