The Neocities CLI

Manage your site using a shell terminal

Neocities has a CLI for power users that want to upload sites using a command line.

Features

Install Instructions

If you're using a newer version of OSX or already have Ruby installed, just run this command to install:

gem install neocities

If you get a permission error, you may need to run the command as superuser:

sudo gem install neocities

After installation, just run the command to get started:

$ neocities

|\---/|
| o_o |   Neocities
 \_-_/

Subcommands:
  push        Recursively upload a local directory to your site
  upload      Upload individual files to your Neocities site
  delete      Delete files from your Neocities site
  list        List files from your Neocities site
  info        Information and stats for your site
  logout      Remove the site api key from the config

Windows

If you're using Windows, you can install ruby with something like the Ruby Installer, and then run the above command.

Linux / BSD

Most Linux / BSD distributions come with Ruby packages. For example, with Ubuntu:

sudo apt-get install ruby-full A full list of available install options for ruby is here.