Due to poor internet connection my atom packages won’t install from settings>preferences>install>packages
. So I think I need to manually install them.
For example: I tried the repository from respective github page and cloned it in users>.atom>packages
but this didn't work.
Any help? I love this text editor so it would be pretty handy if I could install more packages manually.
Any other ways are always welcome!
There are mainly two ways to install packages for Atom: Enter apm install package-name on your terminal. Obviously, the Atom package manager, apm, must be installed (you can enter apm to verify installation). Open Atom and go to edit > preferences > install and then search for the package you want to install.
To install Atom on Windows, head over to atom.io, where you'll find a yellow Download button. Download the file, which is likely called AtomSetup-x64.exe, and run it. There are no options; the installer simply installs Atom for the current user, closes, and launches Atom.
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.
In linux:
cd ~/.atom/packages
git clone https://github.com/url_to_your_package
cd your_package
npm install
You have to install npm first.
There are a few ways, most are similar to this :
You can download the package, unzip or decompress, go to that folder and run: apm link that will create a symbolic link from that package to your ~/.atom/packages folder.
But ensure that you install all dependencies require by the package also, as if you dont have internet connection then you may encounter issues.
There some good information here i will quote for your convenience that outlines how to handle this :
When you manually download and extract the zip file you need to run apm install in the package's directory afterwards to pull in any dependencies. This will download all dependencies and place them in the node_modules folder and recursively pulls in their dependencies as well. Since this is not possible in your environment, you'll have to do that manually.
Recursively go over each package.json file. If it lists a package as a dependency search on npm6 for the package and follow the link to package's github page to read its package.json and repeat the whole process.
Hope this helps in anyway. Lemme know if i can help further once you have tried.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With