Questions tagged [command-line-tool]

A command line tool is a console based application either run in MS-DOS or a terminal (Command prompt for windows, and terminal for linux and mac)

278 questions
787
votes
25 answers

xcode-select active developer directory error

Saw the following error when running an npm install which required node-gyp... but could be triggered by anything which requires xcode-select. xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory…
tjmehta
  • 22,849
  • 4
  • 19
  • 18
481
votes
16 answers

How to install Xcode Command Line Tools

How do I get the command-line build tools installed with the current Xcode/Mac OS X v10.8 (Mountain Lion) or later? Unlike Xcode there is no installer, it's just a bundle. It looks like all the command line tools are in the bundle, under…
Scott Wisniewski
  • 23,372
  • 7
  • 55
  • 89
316
votes
13 answers

What is a faster alternative to Python's http.server (or SimpleHTTPServer)?

Python's http.server (or SimpleHTTPServer for Python 2) is a great way of serve the contents of the current directory from the command line: python -m http.server However, as far as web servers go, it's very slooooow... It behaves as though it's…
Drew Noakes
  • 266,361
  • 143
  • 616
  • 705
71
votes
3 answers

Xcode 6.1 - How to uninstall command line tools?

I installed Xcode command line tool by issuing xcode-select --install; now I want to uninstall it (without uninstalling Xcode). I've tried sudo /Developer/Library/uninstall-devtools --mode=all but then I get the error sudo:…
TomNg
  • 1,699
  • 2
  • 16
  • 25
49
votes
10 answers

svn client binaries for windows

Where are the Windows binaries for the command-line version of SVN? Everywhere I search, it has to be some company's fancy client software with an installer. I'm working on a machine where I don't have administrator account. Just give me the plain…
hasen
  • 148,751
  • 62
  • 182
  • 223
45
votes
5 answers

Error Message "Xcode alone is not sufficient on Sierra"

I'd like to install openCV to vectorize image, but there's a series error message regarding Xcode and Ruby. First, I use terminal to install openCV, brew install opencv. Then, I got error message indicating that the system doesn't like my ruby…
Ying
  • 1,614
  • 1
  • 11
  • 20
44
votes
6 answers

"pod init" creates error that says "You need at least git version 1.8.5 to use CocoaPods"

I was not able to install any pod in my system. Hence, I removed cocoapods from my Mac and then reinstalled it. The process was successful but when I run the command pod init following error shows up in the terminal: `verify_minimum_git_version!':…
Ishika
  • 2,087
  • 1
  • 14
  • 27
39
votes
8 answers

command line tools for new 10.9 OSX for ruby gems?

After installing OSX Mavericks 10.9 demo, Im getting this after running bundle Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /Users/sandric/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb extconf.rb:17:…
sandric
  • 2,060
  • 2
  • 16
  • 25
36
votes
9 answers

How can I add OS X "tags" to files programmatically?

Since Mavericks, OS X has had the ability to tag & colour files in Finder. Is there any way to add tags to files through Cocoa APIs or via a shell command?
nacross
  • 2,053
  • 2
  • 23
  • 34
33
votes
6 answers

Install gnuplot 5.0.1 on OSX

I downloaded the source files for gnuplot 5.0.1 (gnuplot-5.0.1.tar.gz) from the source forge page. I also installed the Command Line Tools on my OS X 10.7.5 so that I have gcc and make in the /usr/bin folder. I followed the installation…
dada
  • 1,158
  • 1
  • 11
  • 35
29
votes
4 answers

How to debug python CLI that takes stdin?

I'm trying to debug a Python CLI I wrote that can take its arguments from stdin. A simple test case would have the output of echo "test" | python mytool.py be equivalent to the output of python mytool.py test I'd like to debug some issues with…
whereswalden
  • 4,301
  • 3
  • 24
  • 36
26
votes
4 answers

Can't install Command Line Tool, "xcode-select --install" doesn't work

I don't know how to install the Command Line Tools on OSX Mavericks. Or better: I know how to do it (I just did it on another MacBook), but something goes wrong this time. What happened: I Install Homebrew on OSX Mavericks Homebrew ask me to intall…
Giovanni
  • 393
  • 1
  • 3
  • 7
24
votes
1 answer

Mac OS app, sandbox with command line tool?

I've made an app which includes a command-line tool. I have enabled the app's sandbox, and tested that it works. I've also code-signed both the app and the command line tool. But when I upload the app to iTunes, I received a email telling me "App…
dinosaur
  • 588
  • 3
  • 13
23
votes
6 answers

macOS 10.14(beta) How to install Command_Line_Tools_macOS_10.14_for_Xcode_10_Beta

As the Title of my question, I don't know how to install the Command_Line_Tools_macOS_10.14_for_Xcode_10_Beta for my mac, please help. What I did: run command "brew install carthage" to install the Carthage, get errors: Error: Your Xcode (9.4.1)…
Raniys
  • 1,591
  • 2
  • 16
  • 30
19
votes
9 answers

Pod file not being initialized?

When i try to initialize pod file to use cocoapods via terminal, it gives me this error. How to fix it. /Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0/lib/cocoapods/command.rb:128:in `verify_minimum_git_version!': [!] You need at least git version…
Usama bin Attique
  • 317
  • 1
  • 3
  • 12
1
2 3
18 19