# Installing Package manager

**URL:** <https://forums.swift.org/t/installing-package-manager/1841>\
**Category:** Using Swift\
**Created:** [March 16, 2016, 3:28pm UTC](https://forums.swift.org/t/installing-package-manager/1841 "2016-03-16T15:28:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cilia\_Vandenameele](https://avatars.discourse-cdn.com/v4/letter/c/58f4c7/32.png) [@Cilia\_Vandenameele](https://forums.swift.org/u/Cilia_Vandenameele)\
**Post date:** [March 16, 2016, 3:28pm UTC](https://forums.swift.org/t/installing-package-manager/1841/1 "2016-03-16T15:28:49Z")

</div>

Hello,  
I'm trying to install your package manager on my computer (MacBook Pro, OSX El Capitan 10.11.3)  
to use in Xcode (7.2.1). I started from the Github page ([https://github.com/apple/swift-package-manager\](https://github.com/apple/swift-package-manager%5C)),  
but I really don't get it installed.  
I downloaded the Developer snapshot and then tried "swift build --help" in my terminal, but I got the "\<unknown\>:0: error: no such file or directory: 'build'" error.  
I've tried restarting Xcode, restarting my computer, deleting it and downloading it again, but no luck.  
I've searched the internet for answers, but find none. I get the feeling I'm forgetting something important, or maybe I forgot an important step in the process? I really don't know, and I need this Package Manager to use in an tvOs project. Could you help me?

Greetings,  
Cilia

---

<div class="post-metadata">

**Author:** ![Max\_Howell](https://avatars.discourse-cdn.com/v4/letter/m/cc9497/32.png) [@Max\_Howell](https://forums.swift.org/u/Max_Howell)\
**Post date:** [March 16, 2016, 6:06pm UTC](https://forums.swift.org/t/installing-package-manager/1841/2 "2016-03-16T18:06:53Z")

</div>

The swift in /usr/bin does not know about the swift toolchain you have installed.

You need to add the swift from the /usr/bin in your toolchain to the PATH first.

Once Xcode 7.3 lands you’ll be able to set TOOLCHAINS=swift as an environment variable and then you won’t need to set the PATH.

> **···**
>
> > Hello,  
> > I'm trying to install your package manager on my computer (MacBook Pro, OSX El Capitan 10.11.3)  
> > to use in Xcode (7.2.1). I started from the Github page ([https://github.com/apple/swift-package-manager\](https://github.com/apple/swift-package-manager%5C)),  
> > but I really don't get it installed.  
> > I downloaded the Developer snapshot and then tried "swift build --help" in my terminal, but I got the "\<unknown\>:0: error: no such file or directory: 'build'" error.  
> > I've tried restarting Xcode, restarting my computer, deleting it and downloading it again, but no luck.  
> > I've searched the internet for answers, but find none. I get the feeling I'm forgetting something important, or maybe I forgot an important step in the process? I really don't know, and I need this Package Manager to use in an tvOs project. Could you help me?
> > 
> > Greetings,  
> > Cilia  
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > swift-users mailing list  
> > swift-users@swift.org  
> > [https://lists.swift.org/mailman/listinfo/swift-users](https://lists.swift.org/mailman/listinfo/swift-users)
